国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

666

2023-03-23 20:21 作者:bili_49463418430  | 我要投稿

#include<iostream>

using namespace std;

class date {private:

int year,month,day;

public:

date(){

year=2004;

month=4;

day=6;

}

date(const date&d){

year=d.year;

month=d.month;

day=d.day;

}

~date(){}

void setdate(){

cout<<"please enter year month day:\n";

cin>>year>>month>>day;}

??

void alterdate(int x=0,int y=0,int z=0){

year=x;

month=y;

day=z;

}

void display(){

cout<<"birthday:"<<year<<"yrar"<<month<<"month"<<day<<"day\n";

}?

};

class people{

private:

int num;

string sex;

date birthday;

string ID;

public:

people(date b):birthday(b){

? ? ? ? int n=0;

? ? ? ? string sx,I;

? ? ? ? num = n;sex = sx;ID = I;

}

people(const people& p):birthday(p.birthday){num=p.num; sex =p.sex; ID=p.ID;

}

~people(){};??

void? setpeople();??

void display();

};??

void people::setpeople()? {

int n;string d;date a;string I;a.setdate();

cout<<"please enter num\n";

cin>>n;

cout<<"please enter sex"<<endl;

cin>>d;

cout<<"pleaseenter ID"<<endl;

cin>>I;

birthday=a;

num=n;

sex=d;

ID=I;

}? ? ??

inline void people::display() {

cout<<endl;

cout<<"num:\n"<<num<<endl<<"sex:"<<sex<<endl<<"ID:\n"<<ID<<endl;birthday.display();

}

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

int main () {

date b;

people p(b);

p.setpeople();

p.display();

people q(p);

return 0;

}


666的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
团风县| 永新县| 许昌县| 恩平市| 五台县| 常宁市| 含山县| 伊金霍洛旗| 诸暨市| 门头沟区| 泸定县| 仙居县| 鹿泉市| 五台县| 鄂州市| 台州市| 达日县| 鄯善县| 南澳县| 衡水市| 威信县| 望奎县| 左贡县| 威海市| 玛多县| 谢通门县| 东山县| 玉溪市| 界首市| 宝兴县| 海兴县| 新余市| 江津市| 宝坻区| 东至县| 屯昌县| 聂拉木县| 黎平县| 科技| 绥化市| 衡南县|