Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Here is a simple driver: #include #include #include Participant.h #include MeetingScheduler.h using namespace std; int main ( ) { cout < < Meeting
Here is a simple driver:
#include
#include
#include "Participant.h
#include "MeetingScheduler.h
using namespace std;
int main
cout "Meeting Scheduler" endl;
Participant p new ParticipantMark "mmahoney@carthage.edu", ;
Participant p new ParticipantLaura "laura@mail.com", ;
Participant p new ParticipantBuddy "buddy@mail.com", ;
Participant p new ParticipantPatrick "patrick@mail.com", ;
create a meeting scheduler for a minute meeting
MeetingScheduler scheduler;
add p to the scheduler as available on Monday from : to :
scheduler.setAvailablep MONDAY, :am:am;
add p to the scheduler as available on Monday from : to :
scheduler.setAvailablep MONDAY, :am:pm;
add p to the scheduler as available on Monday from : to :
scheduler.setAvailablep MONDAY, :am:am;
have the scheduler find available meeting times
scheduler.findAvailableMeetingTimes;
clean up the objects created on the heap
delete p;
delete p;
delete p;
delete p;
return ;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started