- Nov 29, 2005
- 2,411
- 0
- 0
How do you write a file to a different directory in C++?
Right now I'm doing something like fp.open(filename, ios:
ut) where filename is a carefully constructed string based on a bunch of stuff. Is there a cleaner way than strcat-ing something like "./mydir/" to the already established string?
I'm lame.
Right now I'm doing something like fp.open(filename, ios:
I'm lame.
