Is there a way to have the user specify what he wants the file to be called that he is creating and appending to? For example...
string filename;
ofstream blah;
cout << "file name?\n";
cin >> filename;
blah.open("filename.txt",ios::app);
but instead of "filename.txt" it has whatever the user typed in and then ".txt" Thanks.
-andy