Question: c++ please create three different files named main.cpp, StudentClass.h, StudentClass.cpp 7.24 Lab: Student class warm up Define a class named Student that has three private
c++ please
create three different files named
main.cpp, StudentClass.h, StudentClass.cpp

7.24 Lab: Student class warm up Define a class named Student that has three private member:string firstName, string lastName, int studentID Declare the required mutator and accessor methods/functions (get/set methods) in the public section to display or modify the objects. In particular, your class should include the following functions (their names should indicate their functionality): . setFirstName(string) setLastName(string) setStudentID(int) getFirstName) getLastName() getStudentIDO . Provide the above class declaration in the 'StudentClass.h" file. In the "StudentClass.cpp" file, provide the implementation of the above member functions. In the main function do the following (1) Create a student object "student1". (2) Use set methods to assign StudentID: 6337130 firstName: Sandy lastName: Santos (3) Display the student's detail using its get functions on scree (i.e., using cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
