How would I get something like this to work?Code:ofstream fout; string filename; cout << "Enter the name of the file: "; cin >> filename; fout(filename);
How would I get something like this to work?Code:ofstream fout; string filename; cout << "Enter the name of the file: "; cin >> filename; fout(filename);
I am against the teaching of evolution in schools. I am also against widespread
literacy and the refrigeration of food.
fout.open(filename);