July 2020
Beginner
301 pages
3h 36m
English
A data member of type std::string called name
A single parameter, user-defined constructor which initializes the name
A getter function of type std::string called getname(), which returns the name’s value
An integer data member called semester
A user-provided constructor that initializes the name and semester fields
A getter function of type int called getsemester(), ...