Question: Write a function named searchEvents that accepts a vector of Event object pointers and a search month number. It will go through the list and
Write a function named “searchEvents” that accepts a vector of Event object pointers and a search month number. It will go through the list and return the list of Event object pointers with the same search month. Please note that this function will return the list of found objects through the return value or the reference parameter (and not printing out).
Step by Step Solution
3.41 Rating (154 Votes )
There are 3 Steps involved in it
Creating a function named searchEvents that accepts a vector of Event object pointers and a search m... View full answer
Get step-by-step solutions from verified subject matter experts
