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 :
class Crowd
{
int* element;
int number;
public:
Crowd(int m_number, int* m_element);
Crowd(Crowd&);
~Crowd();
Crowd& operator= (Crowd& m);
Crowd operator+ (Crowd& m);
Crowd operator* (Crowd& m);
Crowd operator- (Crowd& m);
Friend ostream& operator << (ostream& o, Crowd& m);
};.
Thanks you guys.