#ifndef STUCARD_H #define STUCARD_H #include #include using namespace std; class StuCard { private: string name; bool sex; double scoreAry[3]; public: StuCard(); StuCard(string a, bool b, double c, double d, double e); void setName(string v); void setSex(bool v); void setScore(int i, double v); string getName() const; bool getSex() const; double getScore(int i) const; void readFromFile(ifstream& s); void writeToFile(ofstream& s); }; #endif