i can not figure out a way to let the user save their own file name in the ofstream i tried to do this...
string SaveName;
std:: ifstream input("finale.txt");
std:: ofstream output(SaveName);
and then a prompt asking user for SaveName i know this doesn't work but i dont know what else to do..... this is very frustrating......
BlackPhoenixVII 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.