Coding for a Task Manager

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.
Last edited on
I'm getting eye cancer... Who should read your code?

Please, FORMAT YOUR CODE using indention and this little "<>"-button at the right side of the message composing window.
did that work?
The "Preview"-button does show you how others will be presented your text.

1. Indent your code.
2.1. Mark it, and
2.2. Press the "<>"-button.
3. Finally press "Preview".
Topic archived. No new replies allowed.