摘要:
source code:base class:class persion {protected:string _name,_sex,_birthday,_number;int _age;public:persion(string st_name,string st_sex,string st_birthday,int st_age,string st_number);persion(){}virtual bool SearchData(string studentnumber,string name)=0;void DisplayData();};derived class:class Stu 阅读全文
摘要:
1 阅读全文
摘要:
#include "stdafx.h"#include using namespace std;class Screen{friend istream&operator>>(istream&,Screen&);friend ostream&operator_height||col_width){cerr"; osHeight()|| s1.Width()!=s2->Width()) return false; for(int ix=0;ixWidth();jy++) if (s1.get(ix,jy)!=s2-&g 阅读全文