Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 (#includeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started