Programming
problem with class in c++

Question Description

I’m studying for my Programming class and don’t understand how to answer this. Can you help me study?

I am a beginner with programming and I really need to resolve this problem.

So, I need to implement the following class that represents this type of crowd and operations with those :

  1. classCrowd
  2. {
  3. int* element;
  4. int number;
  5. public:
  6. Crowd(int m_number,int* m_element);
  7. Crowd(Crowd&);
  8. ~Crowd();
  9. Crowd&operator=(Crowd& m);
  10. Crowdoperator+(Crowd& m);
  11. Crowdoperator*(Crowd& m);
  12. Crowdoperator-(Crowd& m);
  13. Friend ostream&operator<<(ostream& o,Crowd& m);
  14. };.

Thanks you guys.


Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

hi i can help you in this assignment

Carnegie Mellon University

Anonymous
Top quality work from this tutor! I’ll be back!

Anonymous
Just what I needed… fantastic!

Anonymous
Use Studypool every time I am stuck with an assignment I need guidance.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4