09-18-2011, 01:52 AM
It's just that easy. Just open the file using
and the use the rename function from fstream.h . It's that easy.
Code:
fileobject.open("filename.txt", ios::out)
and the use the rename function from fstream.h . It's that easy.