freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

c五子棋課設(shè)說明書含完整源代碼-資料下載頁(yè)

2025-05-23 18:04本頁(yè)面
  

【正文】 ode(TRANSPARENT)。//文字背景透明settextcolor(WHITE)。settextstyle(120,0,_T(宋體))。outtextxy(150,200,人機(jī)五子棋游戲)。settextcolor(RED)。settextstyle(20,0,_T(宋體))。outtextxy(400,400,按任意鍵開始游戲)。getch()。}/* 棋盤函數(shù) */void chessboard(){initgraph(900,780)。setbkcolor(YELLOW)。19cleardevice()。for(int i = 50。i=750。i+=50){setlinecolor(BLACK)。line(50,i,750,i)。line(i,50,i,750)。}settextcolor(GREEN)。settextstyle(30,0,_T(楷體))。outtextxy(770,80,游戲規(guī)則:)。settextstyle(20,0,_T(楷體))。outtextxy(770,130,在棋盤上)。outtextxy(770,170,單擊鼠標(biāo)左鍵)。settextstyle(100,0,_T(宋體))。outtextxy(770,200,五)。outtextxy(770,320,子)。outtextxy(770,440,棋)。settextstyle(30,0,_T(楷體))。outtextxy(770,700,制作團(tuán)隊(duì):)。settextstyle(25,0,_T(楷體))。outtextxy(760,750,周,賈,張)。}/* 判斷輸贏函數(shù) */int judge (int m,int n,int k){int s,i,j,p=0,q=0,x=0,shu,heng,zuoxie,youxie。if (k==1)s=1。elses=2。for(i=m。im+5,i16。i++){if(a[i][n]!=s)break。elsep++。}for(i=m1。im5,i0。i){if(a[i][n]!=s)break。elseq++。}heng=p+q。for(j=n,p=0。jn+5,j16。j++){if(a[m][j]!=s)break。else20p++。}for(j=n1,q=0。jn5,j0。j){if(a[m][j]!=s)break。elseq++。}shu=p+q。for(i=m,j=n,p=0。i16,im+5,j16。i++,j++){if(a[i][j]!=s)break。elsep++。}for(i=m1,j=n1,q=0。i0,im5,j0。i,j){if(a[i][j]!=s)break。elseq++。}zuoxie=p+q。for(i=m,j=n,p=0。i0,im5,j16。i,j++){if(a[i][j]!=s)break。elsep++。}for(i=m+1,j=n1,q=0。i16,im+5,j0。i++,j){if(a[i][j]!=s)break。elseq++。}youxie=p+q。x=heng。if(shux)x=shu。if(zuoxiex)x=zuoxie。if(youxiex)x=youxie。return x。}/* 判斷得分函數(shù) */int score (int m,int n,int k){21int i,j,p=0,q=0,b[4]={0},x=0,shu,heng,zuoxie,youxie。char s。if (k==1)s=1。elses=2。for(i=m。im+5,i16。i++){if(a[i][n]!=s){if(a[i][n]==0){b[0]++。}break。}elsep++。}for(i=m1。im5,i0。i){if(a[i][n]!=s){if(a[i][n]==0){b[0]++。}break。}elseq++。}heng=p+q。for(j=n,p=0。jn+5,j16。j++){if(a[m][j]!=s){if(a[m][j]==0){b[1]++。}break。}elsep++。}for(j=n1,q=0。jn5,j0。j){if(a[m][j]!=s){if(a[i][n]==0){b[1]++。}break。}elseq++。22}shu=p+q。for(i=m,j=n,p=0。i16,im+5,j16。i++,j++){if(a[i][j]!=s){if(a[i][j]==0){b[2]++。}break。}elsep++。}for(i=m1,j=n1,q=0。i0,im5,j0。i,j){if(a[i][j]!=s){if(a[i][j]==0){b[2]++。}break。}elseq++。}zuoxie=p+q。for(i=m,j=n,p=0。i0,im5,j16。i,j++){if(a[i][j]!=s){if(a[i][j]==0){b[3]++。}break。}elsep++。}for(i=m+1,j=n1,q=0。i16,im+5,j0。i++,j){if(a[i][j]!=s){if(a[i][j]==0){b[3]++。}break。}elseq++。}youxie=p+q。if(heng4||shu4||zuoxie4||youxie4){x=100。23}else{for(i=0。i4。i++){if(b[i]==0){b[i]=20。}}x=heng+b[0]。if(shu+b[1]x)x=shu+b[1]。if(zuoxie+b[2]x)x=zuoxie+b[2]。if(youxie+b[3]x)x=youxie+b[3]。}return x。}此代碼使用的是添加了 easyx 圖形庫(kù)的 vc++,網(wǎng)上很多 vc++ 是不同人員破解的,easyx 無法添加進(jìn)去。下面我附上 vc++ 中文版和 easyx 的鏈接,下載解壓安裝完按說明書使用即可。Win10 目前無法安裝,win10 系統(tǒng)的朋友可以建一個(gè) win7 的虛擬機(jī)在安裝 vc++
點(diǎn)擊復(fù)制文檔內(nèi)容
化學(xué)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1