diff --git a/中国象棋棋盘.cpp b/中国象棋棋盘.c similarity index 86% rename from 中国象棋棋盘.cpp rename to 中国象棋棋盘.c index 24ae9e6..a3e64ea 100644 --- a/中国象棋棋盘.cpp +++ b/中国象棋棋盘.c @@ -68,18 +68,24 @@ void DrawCheckerBoard(){ ||((r==6||r==14||r==84||r==76)&&(c==36||c==44)) ||((r==8||r==12||r==82||r==78)&&(c==38||c==42))) {printf("%c",'*');} - else + else {printf("%c",' ');} } printf("\n"); } } +Write(3,23, " chuhe hanjie "); + } //ÇåÀíÆÁÄ» void ClearPanel(){ - for(int i=0;i>userName; -// printf("Please press PassWord"); -// cin>>passWord; -// -// str[0]=userName; -// str[1]=passWord; -// return str; -//} - void goto_xy(int x,int y){ //¶¨Î»¹â±êλÖõ½Ö¸¶¨×ø±ê HANDLE hOut; hOut = GetStdHandle(STD_OUTPUT_HANDLE); diff --git a/中国象棋棋盘.exe b/中国象棋棋盘.exe index 241a68c..e2dc9e0 100644 Binary files a/中国象棋棋盘.exe and b/中国象棋棋盘.exe differ