Hey yall, my assignment this week is to Implement a class named Course with Data members:
String name and students (array of 30 Student representing students in the course)
and int size, which represents the current number of students in the course
I am supposed to read data from a filename, create respective students then add to the array student. Each line of this file will start with a String (no spaces between first name and last name) then followed by 4 decimal numbers for the scores. Then I am supposed to write all of the students in the array, with their scores to a file. This is my first time with writing to a file, and we are supposed to use exceptions.
Anybody have any ideas on this one? I just can't figure out how to use the getname and setname methods in Student, and Course to establish this. Thanks in advance.
Here is my code so far, It is not complete....
[ April 26, 2003: Message edited by: Steve Wysocki ]
[ April 27, 2003: Message edited by: Steve Wysocki ]