-
Iostream
Hi, there
Can anyone help me with the following problem:
How can I get my program to do the whole 'ifstream and ofstream' but instead of it writting the file to the same directory as the actual program but to a specified directory, for example make a new file in "c:\games"
If anyone can help it would be great
Thanx
StaticMan
:cool:
-
You can specify the full pathname for a file. Just do something like this:
ofstream outStream("c:\\games\\myfile.txt");
-
Thanx for the help
Thanx, it's working now. I mean, thanx ALOT!!! You saved me.
Staticman
:cool::rolleyes: