Original Post
and yet another setback : I wish to open a file using a string called file but I am getting stuck using this code and canot figure out why. cout << "Enter the name of the file you would like to open: "; cin >> file; stringFile.open(file); stringFile >> list1; any ideas would be helpful.