![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
文章平均质量分 77
Olc
热爱生活..
展开
-
棋盘覆盖
#include #define N 100 int board[N][N]; int t; void chessboard(int tr,int tc,int dr,int dc,int size) { int m,s; if(siz原创 2011-09-13 15:40:28 · 502 阅读 · 0 评论 -
用C++写的五子棋代码(基于DOS界面)
#include #include using namespace std; const char outstr[11][4]={"┌","┬","┐","├","┼","┤","└","┴","┘","○","●"}; int com[15][15],luozi[15原创 2011-08-17 21:33:56 · 1832 阅读 · 7 评论 -
万年日历(转)
#include #include #include using namespace std; void years_and_month(int y,int m);//将日历显示出来的无返回值函数 int year_leap(int n);//判断闰年的函数,所以是有返原创 2011-08-24 18:40:35 · 701 阅读 · 0 评论