/* * student.h * * Created on: 17.10.2013 * Author: trifon */ #ifndef STUDENT_H_ #define STUDENT_H_ #include using namespace std; #define MAX 50 class Student { private: char name[MAX]; int fn; double grade; public: Student(char const*, int, double); friend istream& operator>>(istream&, Student&); friend ostream& operator<<(ostream&, Student const&); }; #endif /* STUDENT_H_ */