C++ Programming
01-16-2010, 07:00 PM
Hi everyone. I'm a newbee that's exhausted the Internet already, so I joined the forum.
I'm attempting to create a file on the Desktop under the Vista environment, which is not user dependent. e.g
ofstream file;
file.open("c:\\%userprofile%\\Desktop\\report.txt");
if (!file){
cerr
I'm attempting to create a file on the Desktop under the Vista environment, which is not user dependent. e.g
ofstream file;
file.open("c:\\%userprofile%\\Desktop\\report.txt");
if (!file){
cerr