上一页 1 ··· 10 11 12 13 14
摘要: 1 #include <Windows.h> 2 #include <tchar.h> 3 #include <math.h> 4 #define PI 3.1415926 5 BOOLEAN InitWindowClass(HINSTANCE hInstance, int nCmdShow); 6 阅读全文
posted @ 2015-08-08 20:04 叶建成 阅读(834) 评论(0) 推荐(0) 编辑
摘要: ↑ 界面太丑了,后来代码又被我改了: ↓ 阅读全文
posted @ 2015-08-07 21:55 叶建成 阅读(1031) 评论(1) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 BOOLEAN InitWindowClass(HINSTANCE hInstance, int nCmdShow); 5 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); 6 int WINAPI WinMain(HINSTANCE hI... 阅读全文
posted @ 2015-08-07 16:37 叶建成 阅读(1153) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 BOOLEAN InitWindowClass(HINSTANCE hInstance, int nCmdShow); 4 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); 5 int WINAPI WinMain(HINSTANCE hInstance, HINST... 阅读全文
posted @ 2015-08-06 21:47 叶建成 阅读(756) 评论(0) 推荐(0) 编辑
摘要: 1 //Windows.h文件中包含应用程序中所需的数据类型和数据结构的定义 2 #include 3 #include 4 5 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); //窗口函数说明 6 //------------------------------以下是入口函数的代码-------... 阅读全文
posted @ 2015-08-05 19:10 叶建成 阅读(683) 评论(0) 推荐(0) 编辑
摘要: 想要换背景颜色和字符颜色吗?想让按下非方向键,蛇不会死掉?想要解决屏幕一闪一闪的问题吗?转到C++控制台应用程序之贪吃蛇(改进版) 阅读全文
posted @ 2015-07-24 21:09 叶建成 阅读(11323) 评论(16) 推荐(3) 编辑
上一页 1 ··· 10 11 12 13 14