Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
