/* * paid_student.h * * Created on: 18.04.2013 * Author: trifon */ #ifndef PAID_STUDENT_H_ #define PAID_STUDENT_H_ #include using namespace std; #include "student.h" class PaidStudent : public Student { private: double fee; char* sponsor; void copyPaidStudent(PaidStudent const&); void delPaidStudent(); public: PaidStudent(); PaidStudent(char const*, char const*, int, double, double, char const*); PaidStudent(PaidStudent const&); PaidStudent& operator=(PaidStudent const&); ~PaidStudent(); void setFee(double); double getFee() const; char const* getSponsor() const; friend istream& operator>>(istream&, PaidStudent&); friend ostream& operator<<(ostream&, PaidStudent const &); }; #endif /* PAID_STUDENT_H_ */