hello
A question: when I use this code:
........fstream testfile;
........testfile.open("New Text Document.txt");
I have no problem. But when I use it:
........fstream testfile;
........testfile.open("c:\New Text Document.txt");
And when I type an adress
It can't open the file.
Do you know what is problem?
Last edited on
you need to slash twice, so drink lots 8-)
testfile.open("c:\\New Text Document.txt");
Last edited on
i use it.
but I have my problem yet.
which windows version u r using?
im using win 7. I couldnt create a text file in c drive.