HI I need to write the code for each of the event as it says in the comment and I'm struggling with it. Can you help at all,please
Thanx


#include "EventList.h"
#include "Date.h"

EventList::EventList(Date d) {
// create an empty event list - set today's date

}

EventList::~EventList() {
// must go through all the events deleting them
}

Date EventList::getToday(){
// returns todays date
}

void EventList::setToday(Date d){
// sets todays date
}

void EventList::setNow(Clock c){
// sets the time
}

Clock EventList::getNow(){
// returns the time
}

bool EventList::addEvent(Event* e){
// takes an event pointer (event must have been created)
// and adds it to the event list at the next avilable
// place in the array - if there is one
}

bool EventList::delEvent(Event* e){
// loops through the array checking the event pointer parameter
// against the events in the array
// deletes it when they match
// consider moving down the later array elements to close the gap??
}

Event* EventList::findEvent(Date d, Clock c, Type type){
// loops through the eventlist array checking each event
// agains these parameters - if found return the event pointer
// if not return a null pointer (i.e. zero)
}

void EventList:rintByDate(Date d){
// print all events which have this date
}


void EventList:rintAll(){
// loop through the array of events printing each one
}