A class is a user-defined type. A class is introduced with the class, struct or union keyword. In colloquial usage, the term "class" usually refers only to non-union classes.
A class is a collection of class members, which can be:
member variables (also called "fields"),
mem...