Creating a class
The class keyword is used when creating a class followed by the class name. All other parts of the class are put inside curly brackets. The last curly bracket must be followed by a semi-colon. Here is an example of how to create a class called Student.
class Student{};
A class can have private members which other parts of the program can't access and public members which can be accessed from outside the class. The private and public keywords are used for this.
class Student{private: char name[50];public: int...