Question: Can someone send a main.cpp file along with the header file? String Set Class Class Description Your class should be named String Set and should
Can someone send a main.cpp file along with the header file?
String Set Class Class Description Your class should be named String Set and should support these operations: Creating an empty set . Inserting a string Removing a string Finding a string Returning the size of a set Returning the union of the calling object and another String Set Returning the intersection of the calling object and another String Set Returning the set difference of the calling object and another StringSet Class Attributes Your class should be implemented using a dynamic array and should have at least the following private member variables A pointer to a string that will point to an array of strings created in dynamic memory An int that records the current size of the array (i.e. the number of strings stored in the array) An int that records the maximum size of the array String Support Your header file should include the string class (#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
