Question: How can i add a member function that will add something to the vector and a member function that can delete something from the vector

 How can i add a member function that will add something

to the vector and a member function that can delete something from

the vector on this program. Please show in ide vector.hXI vector, po

How can i add a member function that will add something to the vector and a member function that can delete something from the vector on this program. Please show in ide

vector.hXI vector, po man.cpp #itndet VECTORH - 2 define VECTOR H #include Include private std: :vectorcstd::string gymi"beneh""back", "chest public 24 vectors (std::vector<:string gympar std: ivector getgym void setoym gymfaz vector.h x vector.cpp main.cpp include h using namespace vector vectors: :getgym return gym: :setgym gym. vectors::gymgym vectors::vectors streams operator os cons t vectors>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!