C++
文章平均质量分 77
Olc
热爱生活..
展开
-
棋盘覆盖
#include #define N 100int 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 · 513 阅读 · 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 · 1844 阅读 · 7 评论 -
万年日历(转)
#include#include#includeusing namespace std;void years_and_month(int y,int m);//将日历显示出来的无返回值函数int year_leap(int n);//判断闰年的函数,所以是有返原创 2011-08-24 18:40:35 · 713 阅读 · 0 评论