摘要: #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;} 阅读全文
posted @ 2013-07-13 14:56 露水上的青蛙 阅读(1358) 评论(0) 推荐(0) 编辑