/* * student.h * * Created on: 18.04.2013 * Author: trifon */ #ifndef STUDENT_H_ #define STUDENT_H_ #include "person.h" #include using namespace std; class Student : public Person { private: int fn; double grade; public: Student(); friend istream& operator>>(istream&, Student&); friend ostream& operator<<(ostream&, Student const&); void setFN(int); void setGrade(double); int getFN() const; double getGrade() const; }; #endif /* STUDENT_H_ */