In a prior lesson, you learned how to declare structures and structure variables.
Classes are a lot like structures - only more powerful.
While the members of a structure can only be items of data, the members of a class are items of data and the functions that act upon them . Before an application can declare an object of a class, the compiler must have seen the class declaration. A colon must be coded after private and public . This class contains a single data member named Count . Because it is private, it can only be accessed by the member functions of the class.