problem with class in c++

User Generated

ortbbqk1

Programming

Description

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.


User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

hi i can help you in this assignment


Anonymous
Goes above and beyond expectations!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags