Write a template-based class that implements a set of items


Problem

Write a template-based class that implements a set of items. The class should allow the user to 6.

a. Add a new item to the set.

b. Get the number of items in the set.

c. Get a pointer to a dynamically created array containing each item in the set. The caller of this function is responsible for de-allocating the memory. Test your class by creating sets of different data types (e.g., integers, strings).

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a template-based class that implements a set of items
Reference No:- TGS02745588

Expected delivery within 24 Hours