thebarslider
Programmer
Hey everyone,
I'm having problems understanding how to schedule program operations in C++ using MFC.
I have developed a program that records from the radio using a radiocard.
I wish to set up a scheduler that will record radio programmes at a given time.
So far i have developed a Programme class that will be used to store the information. Time frequency etc.
I wish to create many different programme objects but they must reference each other (so that the recording times don't overlap) and can also reference the current time in order to determine whether recording should start.
Does anyone have any ideas where i should start? Do i need to create objects at run-time and then somehow get pointers to them? Or would it be easier to store the information in a file/structure then parse this to determine whether recording should start.
Any suggestions would be much appreciated.
Mark.