随笔分类 -  软件_C++游戏开发

摘要:>_____<:头文件参见:http://www.cnblogs.com/zjutlitao/p/3733164.html 1 #include "stdafx.h" 2 #include "resourse.h" 3 4 #define MAX_LOADSTRING 100 5 6... 阅读全文
posted @ 2014-06-19 01:22 beautifulzzzz 阅读(1552) 评论(0) 推荐(0) 编辑
摘要:>____ 2 #include 3 #include "TAO_CLOCK.h" 4 5 #define SQUARESIZE 20 6 #define ID_TIMER_CLOCK 1 7 #define kuan 60 8 #define miaoL 200 9 #def... 阅读全文
posted @ 2014-05-18 17:41 beautifulzzzz 阅读(1355) 评论(2) 推荐(0) 编辑
摘要:>____ 2 #include "TicTac.h" 3 #define ID_TIMER_ELLIPSE 1 4 #define ID_TIMER_RECTANGLE 2 5 6 CMyApp myApp; 7 8 ///////////////////////////////... 阅读全文
posted @ 2014-05-18 17:32 beautifulzzzz 阅读(859) 评论(0) 推荐(0) 编辑
摘要:>____ 2 #include "ABC.h" 3 #define ID_TIMER_ELLIPSE 1 4 #define ID_TIMER_RECTANGLE 2 5 6 CMyApp myApp; 7 8 /////////////////////////////////////////... 阅读全文
posted @ 2014-05-18 17:27 beautifulzzzz 阅读(784) 评论(0) 推荐(0) 编辑
摘要:>__ 2 class CMyApp :public CWinApp 3 { 4 public: 5 virtual BOOL InitInstance(); 6 }; 7 class CMainWindow:public CFrameWnd 8 { 9 protected:10 B... 阅读全文
posted @ 2014-05-18 17:21 beautifulzzzz 阅读(2301) 评论(0) 推荐(0) 编辑
摘要:>__ 2 class CMyApp:public CWinApp 3 { 4 public: 5 virtual BOOL InitInstance(); 6 }; 7 class CMainWindow:public CFrameWnd 8 { 9 public:10 CMain... 阅读全文
posted @ 2014-05-18 15:15 beautifulzzzz 阅读(1186) 评论(0) 推荐(0) 编辑
摘要:>__ 2 class CMyApp:public CWinApp 3 { 4 public: 5 virtual BOOL InitInstance(); 6 }; 7 class CMainWindow:public CFrameWnd 8 { 9 public:10 CMain... 阅读全文
posted @ 2014-05-18 15:09 beautifulzzzz 阅读(1549) 评论(0) 推荐(0) 编辑
摘要:>_____ 2 #include "TicTac.h" 3 #include 4 #include 5 #include 6 using namespace std; 7 CMyApp myApp; 8 /*ofstream Cout("out.txt"); 9 void CM... 阅读全文
posted @ 2014-05-18 15:02 beautifulzzzz 阅读(2961) 评论(3) 推荐(2) 编辑
摘要:>___ 2 // C 运行时头文件 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 12 // 全局变量: 13 HINSTAN... 阅读全文
posted @ 2014-05-18 14:44 beautifulzzzz 阅读(598) 评论(0) 推荐(0) 编辑
摘要:>___ 2 // C 运行时头文件 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 12 // 全局变量: 13 HINSTAN... 阅读全文
posted @ 2014-05-18 14:36 beautifulzzzz 阅读(738) 评论(0) 推荐(0) 编辑
摘要:>___ 2 // C 运行时头文件 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 12 // 全局变量: 13 HINSTAN... 阅读全文
posted @ 2014-05-18 14:26 beautifulzzzz 阅读(619) 评论(0) 推荐(0) 编辑
摘要:>___ 2 // C 运行时头文件 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 12 #define MAX_LOADSTR... 阅读全文
posted @ 2014-05-18 14:14 beautifulzzzz 阅读(1416) 评论(0) 推荐(0) 编辑
摘要:>___ 2 // C 运行时头文件 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 12 HINSTANCE hInst; 13... 阅读全文
posted @ 2014-05-17 15:58 beautifulzzzz 阅读(1355) 评论(0) 推荐(0) 编辑
摘要:>__nowY-16) 6 p[i].y-=5; 7 else 8 p[i].y+=5; 9 10 if(p[i].x>nowX-25)11 p[i].x-=5;12 else13... 阅读全文
posted @ 2014-05-17 15:12 beautifulzzzz 阅读(874) 评论(0) 推荐(0) 编辑
摘要:>__ 2 // C 运行时头文件 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 10 11 //定义结构,飞机子弹 12 struct BULLET{ 13 int x... 阅读全文
posted @ 2014-05-17 14:57 beautifulzzzz 阅读(912) 评论(0) 推荐(0) 编辑
摘要:>__300)speed=300;26 SetTimer(hWnd,1,speed,NULL);27 break;28 }29 break;30 case WM_TIMER:31 ... 阅读全文
posted @ 2014-05-17 14:22 beautifulzzzz 阅读(969) 评论(0) 推荐(1) 编辑
摘要:>_ 100010 #pragma once11 #endif // _MSC_VER > 100012 13 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers14 15 16 /... 阅读全文
posted @ 2014-05-17 14:02 beautifulzzzz 阅读(1096) 评论(0) 推荐(0) 编辑
摘要:>__=100)MyPaint(hdc); //tPre前次绘图的时间;计算上次绘图到这次循环之间的时间13 } //------------|若相差100个单位进行一次绘图操作,通过这14 } ... 阅读全文
posted @ 2014-05-17 13:06 beautifulzzzz 阅读(475) 评论(0) 推荐(0) 编辑
摘要:>_____ 100010 #pragma once11 #endif // _MSC_VER > 100012 13 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers14 15 ... 阅读全文
posted @ 2014-05-17 12:43 beautifulzzzz 阅读(606) 评论(0) 推荐(0) 编辑
摘要:>_____ 100010 #pragma once11 #endif // _MSC_VER > 100012 13 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers14 15 ... 阅读全文
posted @ 2014-05-17 11:56 beautifulzzzz 阅读(633) 评论(1) 推荐(0) 编辑