Hi all, this is my first time posting here, but from what I've seen it should be good.
I'm currently creating an online game and I need to run a serverside app created in C++ that at specified times opens all files in a specified directory and does what I tell it.
First off, I'm not really skilled in MFC so I can't use it. I'm just trying to create a console program. I need to know all of the included libraries for it to work.
Basically what I need is three seperate bits of info.
One is how to get the time in seperate variables so that I can read months, days, hours, minutes, and seconds seperately. I also need it to check for time about every five to ten seconds OR count on it's own and do what I tell it once a certain amount of time has passed.
I also need info on how to get a list of files in a directory, open each one individually, and check off that I've already opened it.
At the end, if you can all help me, I hope to combine it into one app. Thank you all in advance.