Just a tip: you can override the default constructor of the class so that you can increment the static member variable, achieving the requested functionality.
Example of a class with default constructor defined, as well as a static member variable:
class MyClass
{
public:
MyClass() {
}
private:
static int count;
};
Apart from that, your assignment is pretty straightforward; if you do not understand some of technical terms, you should ask to your teacher. For example, for the most of us a static member variable is pretty self explanatory, but if you do not understand it you should get back to the basis and learn all those technical terms.