Question: Please code in C++: Start with a Person class, and create a multiset to hold pointers to person objects. Define the multiset with the comparePersons

Please code in C++: Start with a Person class, and create a multiset to hold pointers to person objects. Define the multiset with the comparePersons function object, so it will be sorted automatically by names of person. Define a half-dozen persons, put them in the multiset, and display its contents. Several of the persons should have the same name, to verify that multiset stores multiple object with the same key
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
