// ************************************************************************** //
//  Jeff Balsley  11/15/2001                                                  //
//  Assignment 6, problem 3                                                   //
//                                                                            //
// ************************************************************************** //

#include<iostream>
using namespace std;

const int SIZE = 50;

// function declarations
void prompt(char* foobar);

int main(void)
{
	char * myString = new char [SIZE];	

	prompt(myString);
	cout << "Your string is " << myString << "\n";

	delete [] myString;

	return 0;
}

void prompt(char* foobar)
{
	cout << "Enter a string > ";
	cin.getline(foobar, SIZE);
}