[TriLUG] c++ - how to rename files

Mark Freeze mfreeze at gmail.com
Mon Dec 12 11:14:29 EST 2005


Can anyone throw me a tip and tell me how to rename files in a c++
program?

What I want to do is have file1.txt renamed to file1_old.txt, then open
file1_old.txt for input, and file1.txt for output.

Thanks,
Mark.



More information about the TriLUG mailing list