Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedCan 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 ). The string class is part of the standard namespace (std). Class Files Your class should consist of a header file called StringSet.h that contains the class definition and an implementation file called String Set.cpp that contains the method definitions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2017 For Windows Web And Database Applications

Authors: Corinne Hoisington

1st Edition

1337102113, 978-1337102117

More Books

Students also viewed these Databases questions