Hey,
I'm writing a program that takes files and renames them to include a timestamp of the current time on them in c++. I'm pretty new to c++ (and programming in general) and any help or advice would be greatly appreciated.
So far I have this:
When I compile it in Code::Blocks in Windows XP, I get the following message in the command prompt that is launched:
Error renaming file: invalid argument.
Any ideas?
Thanks,
jbronen