Question: C++ Code There's no pre-existing code. Can you explain every step throughout the code, because I need to learn how to do it and how

C++ Code

There's no pre-existing code.

Can you explain every step throughout the code, because I need to learn how to do it and how to be able to adjust it

Exercise Summary: Implement following classes and required member functions in C++ style.

1. A main function.

a) Treat main function as yourself. Introduce Calendar object first. Then add several Event objects along with necessary data (Date, Time, Invite) to the Calendar object. Please also try to delete a few events. Invoke searchEvent from Calendar.

2. Calendar class that has functions to add and drop events.

a) Introduce void searchEvent(int month) will print out all events of a specific month.

3. Event class that has title, Date object, Time objects (start and end), a list of Invitee objects, duration in minutes (you are responsible to compute the ending time based on duration) and location. Setter and/or getter functions may be needed. A print function will print out all event information. In simplified version, we assume no event has time conflict.

4. Date class has month, day, and year data members. Setter and/or getter functions may be needed.

5. Time class has hour and minute data members. Setter and/or getter functions may be needed.

6. Invitee class has email data member. Please introduce a function that checks email format is correct (assume xxx@csufresno.edu where xxx SHOULD always start with character(s) and can have integers and/or characters thereafter. Minimum length of email ID is 3).

7. Then please make sure you invoke all functions in main function.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!