small back up program?
im a newbie programmer.. and i was just wondering if someone could tell me how i can make a program that will check a file to see if it has changed.. and if it has changed.. to copy the file and paste it as a different name in the same folder..this would be a loop..
if anyone can help i would appreciate it.. its not much
What OS are you design the program to run under? For Windows OS, one solution is to log each file attribute. Set a clock to check the files and back them up if applicable.
yes its for windows... well.. i know how to copy the files.. by using ifstream and ofstream.. how would i log and check the files?
To "log" files, use the FindFirstFile()/FindNextFile() API functions. Look them up in the help or at MSDN.