#include#includeclassA{private:charname[15];charsex[3];intage;charcata[20];public:A();A(char*,char*,int,char*);//构造函数A(A&obj);//增加了复制构造函数A&operator=(A&obj);//赋值运算voidsetn(char*);//设置名字函数voidsets