First page Back Continue Last page Graphics

READING STRUCTURES

  • istream& read(istream& is, Student_info& s)
  • {
  • // read and store name and exam grades
  • is >> s.name >> s.midterm >> s.final;
  • // read and store all the student's homework grades
  • read_hw(is, s.homework);
  • return is;
  • }