摘要: 客户端:cocos creator 服务器:pomelo 所需技术: js sql web 之前看到三国浮生记 想模仿做一下 之前写了一部分 后来一直加班就搁置了 这个不是很好 抛出来激励自己一下 顺便学习一下 js 和 服务器相关技术 https://github.com/chinamaize/kingdoms 阅读全文
posted @ 2016-04-01 00:31 D-Power 阅读(418) 评论(0) 推荐(0) 编辑
摘要: Unity开源贡献 http://blogs.unity3d.com/2014/09/16/getting-started-as-a-contributor-to-our-open-source-projects/ https://bitbucket.org/Unity-Technologies/ 阅读全文
posted @ 2016-04-01 00:14 D-Power 阅读(242) 评论(0) 推荐(0) 编辑
摘要: const 使用 阅读全文
posted @ 2011-05-16 10:15 D-Power 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 在VC下执行DOS命令并得到输出(转)2009-12-23 14:10http://topic.csdn.net/u/20081118/22/644899d5-43f3-4461-b101-f2c9838ee401.html a. system("md c:\\12"); b. WinExec("Cmd.exe /C md c:\\12", SW_HIDE); c. ShellExecute ShellExecute(NULL,"open","d:\\WINDOWS\\system32\\cmd.exe","/c md d:\\zzz","",SW_SHOW); d. CreateP 阅读全文
posted @ 2011-02-20 22:04 D-Power 阅读(17003) 评论(0) 推荐(1) 编辑
摘要: 1.DbgView支持C++程序直接调试传递信息!接口: BOOL DebugTrace(char * lpszFormat,...) { static HWND hwnd = ::FindWindowA(NULL,"DbgView"); if(!IsWindow(hwnd)) hwnd = ::FindWindowA(NULL,"DbgView"); if(hwnd) { static char szMsg[512]; va_list argList; va_start(argList, lpszFormat); try { vsprintf(szMsg,lpszFormat, argLis 阅读全文
posted @ 2011-02-20 02:43 D-Power 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 在学习MFC源码时经常会有:   if(style&CS_TYPE)   {     //执行   }   问:那么if(style&CS_TYPE)有何实际意义那?   答:当style是由CS_TYPE类型系列(CS_TYPE系列类型转换为二进制只有一位为1)位于运算计算结果,则if(style&CS_TYPE)判断是style是否含有CS_TYPE类型   例如: #define CS_TYPE 0x0008//= 0000 1000//即只有一位二进制数据为1       #define CS_HIDE 0x0010//= 0001 0000       # 阅读全文
posted @ 2011-02-20 01:30 D-Power 阅读(794) 评论(0) 推荐(0) 编辑
摘要: 我们在学mfc时经常用到类型(16进制数据)    而且有时候需要从一个混合类型中提取一个类型或删掉一种类型时就要用到位操作了    例如:    DWORD style =CS_DBLCLKS | CS_HREDRAW | CS_VREDRAW;    1.判断是否含有一种类型:    if((style&CS_DBLCLKS)==CS_DBLCKS)    {      AfxMessageBox(L"含有CS_DBLCKS类型");    }else      AfxMessageBox(L"不含有CS_DBLCKS类型");    2.去除一种类型:    style |= C 阅读全文
posted @ 2011-01-24 01:09 D-Power 阅读(1978) 评论(1) 推荐(0) 编辑