I have a class called "Student". It has members such as first name, last name, gpa...etc. In this program, i need to create and array, and be able to add objects into the array. Now, i know how to create an object before running the program:
Code:
Student Stud1("Williams","John", 4.0);
however, i am not sure how to create an object whenever the user is using the program. Using a struct would be something like:
Code:
new Student;
cin Student.First_Name;
but i'm not sure how to do it with objects.