I have to code for a task manager that stores a task description, due date, and duration(in minutes) of the task into an array. The guidelines are that i have to be able to be able to create a new task list, save the list into a file, print the list in the format : description endl duration endl duedate(mmdd), add a task to the list, modify a task, remove a task, and sort the task list based on due date. I have been staring at my computer screen for at least 12 hours. I'm new to c++ and i was able to code basic calculators and other simpler projects however i have no idea how to even go about this. my professor gave us a class that looks like this:
class Task{
private:
string description;
int expectedDuration;
int dueDate;
bool isActive;
public:
Task();
Task(string d, int ed, int dd);
string getDescription();
void setDescription(string d);
int getExpectedDuration();
void setExpectedDuration(int ed);
int getDueDate();
void setDueDate(int dd);
bool getActive();
void setActive(bool a);
void reset();
void print();
void becomeCloneOf(Task t);
};
if you can offer any guidance or ideas on how i would go about doing this project it would be much appreciated. Many thanks.