Hi there I am using an ofstream object to write to files and I want to know if there is a method in which I can change the default path from the app location.
i.e.
My app is at C:\app\app.exe and I want to open the file C:\folder\file.txt by using:
Any help would be much appreciatedCode:ofstream file("file.txt");
dt