摘要:
#include "stdafx.h"#include #include #include #include using namespace std;class Student{public:Student(){}Student(string name,string sex,int age,string number);int getAge(){return _age;} string getNumber(){return _number;}bool operator==(const string&str)//重载操作符{ return str==_number;} 阅读全文