I have a question, if I was creating a program to calculate students final grades how would I have the program repeat for the number of students defined by the user? How can you get the size before you declare the object? Thanks!
Do you know how to make a dynamic array without classes? If you do, try making the dynamic array into a class and then use that class in your other classes. Remember that the dynamic array should manage itself - your other classes should not have to allocate or deallocate memory for it or remember its size; it should do that itself.
1) Ask user for input.
2) Use user input in a constructor of some object OR
Use user input for the condition statement in a loop.
3) Loop through 'x user input amount of times' and do something.
4) calculate final grades.