亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? mainframe1.cpp

?? 這是一個族譜的管理系統
?? CPP
?? 第 1 頁 / 共 3 頁
字號:

		if(mouseclickl(hOut,hIn,a[0],mouseRec))
		{
			pos=a[0].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=20;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.name;
			
		}
	/*	if(mouseclickl(hOut,hIn,a[1],mouseRec))
		{
			pos=a[1].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=10;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
		//	cin>>p->a.sex;
			
		}*/
		if(mouseclickl(hOut,hIn,a[2],mouseRec))
		{
			pos=a[2].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=11;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.stature;
			
		}
		if(mouseclickl(hOut,hIn,a[3],mouseRec))
		{
			pos=a[3].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=20;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.consort;			
		}
		if(mouseclickl(hOut,hIn,a[4],mouseRec))
		{
			pos=a[4].pos1;
			pos.X+=10;
			posa=pos;
			posa.X+=20;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.birthday;
			
		}
		if(mouseclickl(hOut,hIn,a[5],mouseRec))
		{
			pos=a[5].pos1;
			pos.X+=10;
			posa=pos;
			posa.X+=14;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.deathday;
			
		}
		if(mouseclickl(hOut,hIn,k,mouseRec))
		{
				pos=a[6].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=10;
			
			button kk[9];
			COORD poskk={42,23};
			
			kk[0].createbutton(poskk,"小學",14,10,hOut);
			poskk.Y++;
			kk[1].createbutton(poskk,"初中",14,10,hOut);
			poskk.Y++;
			kk[2].createbutton(poskk,"高中",14,10,hOut);
			poskk.Y++;
			kk[3].createbutton(poskk,"中專",14,10,hOut);
			poskk.Y++;
			kk[4].createbutton(poskk,"大專",14,10,hOut);
			poskk.Y++;
			kk[5].createbutton(poskk,"本科",14,10,hOut);
			poskk.Y++;
			kk[6].createbutton(poskk,"碩士",14,10,hOut);
			poskk.Y++;
			kk[7].createbutton(poskk,"博士",14,10,hOut);
			poskk.Y++;
			kk[8].createbutton(poskk,"其他",14,10,hOut);
			for(;;)
			{
				BOOL tal=false;
				ReadConsoleInput(hIn, &mouseRec, 1,&res);
				for(int j=0;j<9;j++)
				{
					mousemove1(hOut,hIn,kk[j],mouseRec);
					
				}
				for(int jj=0;jj<9;jj++)
				{
					if(mouseclickl(hOut,hIn,kk[jj],mouseRec))
					{
						clearscreen(hOut,pos,posa);
						SetConsoleCursorPosition(hOut,pos);
						strcpy(p->a.xueli,kk[jj].buttonname);
						cout<<p->a.xueli;
							for(int l=0;l<9;l++)
							kk[l].hidebutton(hOut,false);

						tal=true;
						break;
						
					}
				}
				if(tal)
					break;
				
			}
			
		}
		if(mouseclickl(hOut,hIn,a[7],mouseRec))
		{
			pos=a[7].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=20;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.work;
					
		}
		if(mouseclickl(hOut,hIn,a[8],mouseRec))
		{
			pos=a[8].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=20;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.zhiche;
						
		}
		if(mouseclickl(hOut,hIn,a[9],mouseRec))
		{
			pos=a[9].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=20;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.birthaddress;
			
			
		}
		
		if(mouseclickl(hOut,hIn,b[1],mouseRec))
		{
			p=NULL;
			return p;
		}
			if(mouseclickl(hOut,hIn,b[0],mouseRec))
		{
				return p;
		}				
	}		
}


void coutnode(bitnode*p,HANDLE hOut)                   //輸出節點
{
	//DWORD  res;
	HANDLE hIn;
	//INPUT_RECORD mouseRec;
	hIn = GetStdHandle(STD_INPUT_HANDLE); // 獲取標準輸入設備句柄
	
	COORD pos={22,19};
	button a[10];
	
	SetConsoleCursorPosition(hOut,pos);
	a[0].createbutton(pos," 姓  名 ",14,236,hOut);
	pos.X+=30;
	a[1].createbutton(pos," 性  別 ",14,236,hOut);
	pos.Y+=2;pos.X-=30;
	a[2].createbutton(pos," 身  高 ",14,236,hOut);
	pos.X+=20;
	SetConsoleCursorPosition(hOut,pos);
	cout<<"cm";
	pos.X+=10;
	a[3].createbutton(pos," 配  偶 ",14,236,hOut);
	pos.Y+=2;pos.X-=30;
	a[4].createbutton(pos," 出生時間 ",14,236,hOut);
	pos.X+=30;
	a[5].createbutton(pos," 死亡時間 ",14,236,hOut);
	a[5].pos1.X+=25;
	SetConsoleCursorPosition(hOut,a[5].pos1);
//	cout<<"(如1985.01.21)";
	a[5].pos1.X-=25;
	pos.Y+=2;pos.X-=30;
	a[6].createbutton(pos," 學  歷 ",14,236,hOut);
	pos.X+=30;
	a[7].createbutton(pos," 職  業 ",14,236,hOut);
	pos.Y+=2;pos.X-=30;
	a[8].createbutton(pos," 職  稱 ",14,236,hOut);
	pos.X+=30;
	a[9].createbutton(pos," 出生地 ",14,236,hOut);
    if(strcmp(p->a.name,"###"))
	{
		pos=a[0].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.name;
	}
			
	if(strcmp(p->a.sex,"###"))
	{
		pos=a[1].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.sex;
	}
		if(strcmp(p->a.stature,"###"))
	{
		pos=a[2].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.stature;
	}
	if(strcmp(p->a.consort,"###"))
	{
		pos=a[3].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.consort;
	}
	if(strcmp(p->a.birthday,"###"))
	{
		pos=a[4].pos1;
		pos.X+=10;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.birthday;
	}
			
	if(strcmp(p->a.deathday,"###"))
	{
		pos=a[5].pos1;
		pos.X+=10;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.deathday;
	}
	if(strcmp(p->a.xueli,"###"))
	{
		pos=a[6].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.xueli;
	}
		if(strcmp(p->a.work,"###"))
	{
		pos=a[7].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.work;
	}
	if(strcmp(p->a.zhiche,"###"))
	{
		pos=a[8].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.zhiche;
	}
			
	if(strcmp(p->a.birthaddress,"###"))
	{
		pos=a[9].pos1;
		pos.X+=10;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.birthaddress;
	}
				
}

void xiugai(bitnode*p,HANDLE hOut)
{
	person k;
	k=p->a;
	DWORD  res;
	HANDLE hIn;
	INPUT_RECORD mouseRec;
	hIn = GetStdHandle(STD_INPUT_HANDLE); // 獲取標準輸入設備句柄
	
	COORD pos={21,16},posa={33,27},posb={52,27},posk={180,180};
	button a[10],b[2],c[2];
	clearscreen(hOut,pos,posk);
	
	SetConsoleCursorPosition(hOut,pos);
	a[0].createbutton(pos," 姓  名 ",14,236,hOut);
	pos.X+=30;
	a[1].createbutton(pos," 性  別 ",14,236,hOut);
	pos.X+=12;
	c[0].createbutton(pos,"男",14,236,hOut);
	pos.X+=4;
	c[1].createbutton(pos,"女",14,236,hOut);
	pos.Y+=2;pos.X-=46;
	a[2].createbutton(pos," 身  高 ",14,236,hOut);
	pos.X+=30;
	a[3].createbutton(pos," 配  偶 ",14,236,hOut);
	pos.Y+=2;pos.X-=30;
	a[4].createbutton(pos," 出生時間 ",14,236,hOut);
	pos.X+=30;
	a[5].createbutton(pos," 死亡時間 ",14,236,hOut);
	a[5].pos1.X+=25;
	SetConsoleCursorPosition(hOut,a[5].pos1);
	cout<<"(如1985.01.21)";
	a[5].pos1.X-=25;
	pos.Y+=2;pos.X-=30;
	a[6].createbutton(pos," 學  歷 ",14,236,hOut);
	pos.X+=30;
	a[7].createbutton(pos," 職  業 ",14,236,hOut);
	pos.Y+=2;pos.X-=30;
	a[8].createbutton(pos," 職  稱 ",14,236,hOut);
	pos.X+=30;
	a[9].createbutton(pos," 出生地 ",14,236,hOut);
	b[0].createbutton(posa,"【確定】",14,236,hOut);
	b[1].createbutton(posb,"【取消】",14,236,hOut);
	int i;
		button k1;
	COORD posk1={44,22};
	k1.createbutton(posk1,"↓",14,236,hOut);

    if(strcmp(p->a.name,"###"))
	{
		pos=a[0].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.name;
	}
			
	if(strcmp(p->a.sex,"###"))
	{
		pos=a[1].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.sex;
	}
		if(strcmp(p->a.stature,"###"))
	{
		pos=a[2].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.stature;
	}
	if(strcmp(p->a.consort,"###"))
	{
		pos=a[3].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.consort;
	}
	if(strcmp(p->a.birthday,"###"))
	{
		pos=a[4].pos1;
		pos.X+=10;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.birthday;
	}
			
	if(strcmp(p->a.deathday,"###"))
	{
		pos=a[5].pos1;
		pos.X+=10;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.deathday;
	}
	if(strcmp(p->a.xueli,"###"))
	{
		pos=a[6].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.xueli;
	}
		if(strcmp(p->a.work,"###"))
	{
		pos=a[7].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.work;
	}
	if(strcmp(p->a.zhiche,"###"))
	{
		pos=a[8].pos1;
		pos.X+=8;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.zhiche;
	}
			
	if(strcmp(p->a.birthaddress,"###"))
	{
		pos=a[9].pos1;
		pos.X+=10;
		SetConsoleCursorPosition(hOut,pos);
		cout<<p->a.birthaddress;
	}
		for(;;)
	{
		ReadConsoleInput(hIn, &mouseRec, 1,&res);
		for(i=0;i<10;i++)
		{
			mousemove(hOut,hIn,a[i],mouseRec);
		}
		mousemove(hOut,hIn,b[0],mouseRec);
		mousemove(hOut,hIn,b[1],mouseRec);
			mousemove1(hOut,hIn,c[0],mouseRec);
		mousemove1(hOut,hIn,c[1],mouseRec);
		mousemove1(hOut,hIn,k1,mouseRec);
		if(mouseclickl(hOut,hIn,c[0],mouseRec))
		{
			strcpy(p->a.sex,"男");
			pos=a[1].pos1;
			pos.X+=8;
			SetConsoleCursorPosition(hOut,pos);
			cout<<p->a.sex;

		}
			if(mouseclickl(hOut,hIn,c[1],mouseRec))
		{
				strcpy(p->a.sex,"女");
			pos=a[1].pos1;
			pos.X+=8;
			SetConsoleCursorPosition(hOut,pos);
			cout<<p->a.sex;
			

		}

		if(mouseclickl(hOut,hIn,a[0],mouseRec))
		{
			pos=a[0].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=20;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.name;
		
		}
	/*	if(mouseclickl(hOut,hIn,a[1],mouseRec))
		{
			pos=a[1].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=10;
		//	clearscreen(hOut,pos,posa);
		//	SetConsoleCursorPosition(hOut,pos);
		//	cin>>p->a.sex;
			
		}*/
		if(mouseclickl(hOut,hIn,a[2],mouseRec))
		{
			pos=a[2].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=20;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.stature;
			
		}
		if(mouseclickl(hOut,hIn,a[3],mouseRec))
		{
			pos=a[3].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=20;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.consort;
			
		}
		if(mouseclickl(hOut,hIn,a[4],mouseRec))
		{
			pos=a[4].pos1;
			pos.X+=10;
			posa=pos;
			posa.X+=20;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.birthday;
			
		}
		if(mouseclickl(hOut,hIn,a[5],mouseRec))
		{
			pos=a[5].pos1;
			pos.X+=10;
			posa=pos;
			posa.X+=14;
			clearscreen(hOut,pos,posa);
			SetConsoleCursorPosition(hOut,pos);
			cin>>p->a.deathday;
			
		}
		if(mouseclickl(hOut,hIn,k1,mouseRec))
		{
			pos=a[6].pos1;
			pos.X+=8;
			posa=pos;
			posa.X+=10;
			
			button kk[9];
			COORD poskk={42,23};
			
			kk[0].createbutton(poskk,"小學",14,10,hOut);
			poskk.Y++;
			kk[1].createbutton(poskk,"初中",14,10,hOut);
			poskk.Y++;
			kk[2].createbutton(poskk,"高中",14,10,hOut);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
男女男精品视频网| 亚洲欧美激情一区二区| 欧美午夜免费电影| 一本一道久久a久久精品 | 欧美一级在线免费| 欧美日韩国产一区二区三区地区| 91福利小视频| 欧美三区在线观看| 91精品欧美福利在线观看| 欧美一级二级在线观看| 日韩视频国产视频| 久久综合久久综合亚洲| 久久精品一区蜜桃臀影院| 国产精品免费久久| 亚洲女与黑人做爰| 午夜精品福利视频网站| 日韩黄色在线观看| 国产麻豆成人精品| 99久久久免费精品国产一区二区| 91无套直看片红桃| 欧美日韩国产另类一区| 精品盗摄一区二区三区| 国产精品日韩成人| 亚洲一区影音先锋| 久久91精品国产91久久小草| 国产在线视频一区二区| www.日韩大片| 91.xcao| 国产亚洲精品资源在线26u| 综合电影一区二区三区| 亚洲123区在线观看| 亚洲午夜日本在线观看| 亚洲国产精品久久不卡毛片| 91福利精品第一导航| 91麻豆精品国产91久久久久久久久| 国产亚洲欧洲997久久综合 | proumb性欧美在线观看| 一本一道久久a久久精品| 久久久久久夜精品精品免费| 精品成人免费观看| 欧美极品aⅴ影院| 亚洲精品菠萝久久久久久久| 精品一区二区成人精品| 99久久精品免费看| 亚洲精品一区二区精华| 一区二区三区在线看| 久88久久88久久久| 欧洲一区二区三区在线| 国产午夜精品久久| 麻豆精品在线播放| 在线免费亚洲电影| 国产精品久久久久久久岛一牛影视| 午夜欧美一区二区三区在线播放| 粉嫩一区二区三区性色av| 666欧美在线视频| 一区二区三区四区亚洲| 国产凹凸在线观看一区二区| 日韩视频中午一区| 亚洲成人激情自拍| 色婷婷激情一区二区三区| 中文字幕不卡三区| 久久精品99国产精品| 91.xcao| 亚洲图片欧美色图| 91高清视频免费看| 亚洲色图色小说| 成人app在线观看| 国产色产综合色产在线视频| 美女视频黄a大片欧美| 欧美日韩精品三区| 午夜成人免费电影| 欧美高清一级片在线| 一区二区三区在线免费观看| 91在线视频免费观看| 国产精品精品国产色婷婷| 国产乱人伦偷精品视频不卡 | 国产精品五月天| 国产精品影视网| 久久久99精品免费观看不卡| 国产麻豆视频精品| 国产视频一区不卡| www.色综合.com| 亚洲三级在线播放| 色激情天天射综合网| 一区二区三区在线视频观看| 色婷婷av一区| 五月天亚洲婷婷| 欧美成人a在线| 国产成人免费在线观看| 国产精品美女久久福利网站| 99久久婷婷国产综合精品| 综合在线观看色| 欧美日韩一区中文字幕| 日韩电影在线一区二区三区| 精品国产一区久久| 播五月开心婷婷综合| 亚洲欧美日韩中文字幕一区二区三区 | 国产精品成人一区二区艾草| 91免费看`日韩一区二区| 日韩码欧中文字| 欧美日韩精品一区二区天天拍小说 | 中文字幕视频一区二区三区久| 972aa.com艺术欧美| 亚洲gay无套男同| 久久综合资源网| 99久久久免费精品国产一区二区| 亚洲一区二区三区四区在线观看 | 国内外精品视频| 1024精品合集| 91精品国产色综合久久不卡蜜臀| 国产在线视视频有精品| 亚洲最新视频在线播放| 精品蜜桃在线看| 99久久精品一区二区| 美女网站色91| 亚洲精品免费在线观看| 欧美一激情一区二区三区| 97精品国产露脸对白| 看电视剧不卡顿的网站| 亚洲欧美日韩中文字幕一区二区三区| 7777精品伊人久久久大香线蕉的| 国产一区二区h| 日韩av电影一区| 一区二区三区在线高清| 久久精品网站免费观看| 欧美精品久久99| 日本精品一区二区三区四区的功能| 久久超级碰视频| 日韩国产精品大片| 亚洲天堂久久久久久久| 欧美国产精品一区| www成人在线观看| 日韩一区二区三区四区五区六区| 欧日韩精品视频| 色综合一个色综合亚洲| 成人激情开心网| 国产剧情一区二区| 精品一区二区日韩| 三级在线观看一区二区| 亚洲欧美另类在线| 2023国产精品自拍| 欧美日韩成人激情| 91污在线观看| 日本高清无吗v一区| 国产成人综合亚洲网站| 日韩电影一区二区三区四区| 久久久精品天堂| 久久久蜜桃精品| 欧美电影免费观看高清完整版在| 91蜜桃网址入口| 国产成人无遮挡在线视频| 天天综合色天天综合色h| 国产校园另类小说区| 91久久精品一区二区三| 国产成人免费在线观看不卡| 婷婷久久综合九色综合伊人色| 亚洲三级久久久| 亚洲国产精品成人久久综合一区| 精品久久久三级丝袜| 精品国产网站在线观看| 91精品国产福利| 欧美日韩精品一区视频| 精品国产乱码久久| 欧美成人精品福利| 欧美精品在线一区二区三区| 91视频.com| 国产麻豆成人精品| 99在线精品一区二区三区| 成人中文字幕合集| 成人短视频下载| 国内精品第一页| 99精品国产热久久91蜜凸| www.在线欧美| 91影院在线观看| 欧美日韩一区二区三区视频| 欧美在线综合视频| 欧美在线播放高清精品| 欧美私人免费视频| 欧美成va人片在线观看| 久久久综合激的五月天| 久久久久九九视频| 亚洲综合激情小说| 日韩电影在线观看电影| 精品一区二区三区在线播放| 免费精品视频在线| 韩国成人在线视频| 粉嫩久久99精品久久久久久夜| 成人18视频在线播放| 欧美精品乱码久久久久久按摩| 91麻豆精品国产91久久久久久久久 | 日韩一级片网站| 国产免费成人在线视频| 亚洲天堂精品视频| 天天亚洲美女在线视频| 成人午夜视频在线观看| 欧美色综合网站| 久久久久99精品国产片| 国产精品第五页| 国模少妇一区二区三区| 97se亚洲国产综合自在线不卡|