home *** CD-ROM | disk | FTP | other *** search
/ C++ for Dummies (3rd Edition) / C_FD.iso / CHAP08 / STUDENT.H < prev   
C/C++ Source or Header  |  1996-09-02  |  212b  |  11 lines

  1. // Student.h
  2. class Student 
  3. {
  4.   public:
  5.    int   semesterHours;  //hours earned toward graduation
  6.    float gpa;
  7.  
  8.    //add a completed course to the record
  9.    float addCourse(int hours, float grade);
  10. };
  11.