Class and operator

Hello everyone


I need a help to write some codes.


I need to create program which counts amount of cats, identifies ID, identifies parents of the cat.


class Cat, public: static int nCats, int ID, ID=nCats


I need a full codes.


Thanks before
Start from http://www.cplusplus.com/doc/tutorial/classes/

Remember:
Homework questions are for you to work out, so that you will learn from the experience. It is OK to ask for hints, but not for entire solutions.
Topic archived. No new replies allowed.