Ok so Basically i have 2 questions
1. i know how to create a file with c++ using
but is there a way to save it to a specific location on your computer with windows and linux if you could please
Code:
ofstream myfile;
myfile.open("newfile.txt");
myfile <<"Bla";
myfile.close();
2. i need to know how to run/execute/open a file in a c++ program
im using and its not working
Code:
ifstream file;
file.open("newfile.txt");
thanks to all in head of time.