C
cpp
When I create an instance of ofstream, what is the name of the member
variable that holds the filename?
For example:
ofstream ofs("Output.txt");
cout << ofs.WhatIsThePathVariable;
If there isn't a public member variable I can use, then is there at least a
function that displays the filename?
Thanks
variable that holds the filename?
For example:
ofstream ofs("Output.txt");
cout << ofs.WhatIsThePathVariable;
If there isn't a public member variable I can use, then is there at least a
function that displays the filename?
Thanks