Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(this is my .h file and parts of my class) (This is my .cpp file and I dont know how to call it it won't

image text in transcribedimage text in transcribed(this is my .h file and parts of my class)

image text in transcribed(This is my .cpp file and I dont know how to call it it won't access any of my private members)

StringSet unions(const StringSet &) const - returns a StringSet object that contains the union of the calling object and the parameter (if the result is the empty set the returned String Set object's current size should equal zero); in case you were wondering, this method is called unions because union is a reserved word class{ public: //returning the union of the calling object and a //stringset StringSet unions (const StringSet & st) const; private: //pointer to a string that will point to an array string* strr; //An int that records the current size of the ari int arrSize; //An int that records the maximum size of the ari int maxArr; //returning the union of the calling object and another StringSet: :unions (const StringSet & set1) { StringSet unionSet = set1; for(int i=0; i

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

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

What were some of the team roles at Casper?

Answered: 1 week ago

Question

What were some of the team norms at Casper?

Answered: 1 week ago