class help

Hello,

could someone please help me with the following.. need to solve a few questions but its been 10yrs since i studied c++ so trying to brush my c++ skills. Thank you


Q. Create a class ìStudentî which contains the following data items:
Student Name
Student Enrollment Number
Programme Code
Phone number
Design and implement a constructor that initializes all the four data members. Write a function that allows change of phone number.
Write a destructor function also.
Hi there,

Welcome to the forums. You can find all the info needed for this task in the following tutorial of this website:
http://www.cplusplus.com/doc/tutorial/classes/

It will be more helpful in brushing up your C++ than us telling you the answer.

Hope that helps.

All the best,
NwN


Topic archived. No new replies allowed.