摘要: 阅读全文
posted @ 2016-07-12 14:28 Ebel 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 可能的原因: 1、Ground Check Distance 的值设置的过小,可以尝试设置大一点比如10,这个值为多少合适受Capsule Collider的属性center y和hight影响, 确保Physics.Raycast(transform.position + (Vector3.up 阅读全文
posted @ 2016-05-27 16:13 Ebel 阅读(4485) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include <iostream>using namespace std;class MyProblem :public exception{public: MyProblem() { } virtual const char* what() const throw() { return "There are something wrong!\n"; }};int _tmain(int argc, _TCHAR* argv[]) { try { if ("Something wron... 阅读全文
posted @ 2012-11-09 17:22 Ebel 阅读(118) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include <windows.h>#include <TlHelp32.h>#include <iostream>using namespace std;int _tmain(int argc, _TCHAR* argv[]){ // 给系统所有进程拍一个快照 HANDLE hProcessSnap = ::CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); if (hProcessSnap == INVALID_HANDLE_VALUE) { co 阅读全文
posted @ 2012-11-01 17:32 Ebel 阅读(161) 评论(0) 推荐(0) 编辑
摘要: View Code #include "stdafx.h"#include <windows.h>#include <iostream>using namespace std;int _tmain(int argc, _TCHAR* argv[]){ WCHAR szCommandLine[] = _T("notepad.exe "); STARTUPINFO si = {sizeof(si)}; PROCESS_INFORMATION pi; BOOL bRet = ::CreateProcess(NULL, szCommand 阅读全文
posted @ 2012-11-01 16:18 Ebel 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 在App类的InitInstance函数中定义了CSingleDocTemplate单文档模版,将CMainFrame View Doc有机的结合在一起,通过AddDocTemplate方法讲模版加入到程序之中 阅读全文
posted @ 2012-07-30 10:54 Ebel 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 1、在应用程序app类里面定义了全局对象theApp代表应用程序本身,在WinMain调用之前会被初始化。2、app的基类CWinApp构造函数里面将app类的指针存储(根据多态性原理CWinApp里面的this为派生类的指针,测试代码如下),完成初始化之后应用程序有了内存空间。3、WinMain返回AfxWinMian,在AfxWinMian里面调用AfxGetApp获取应用程序指针,完成应用程序初始化和消息循环#include "stdafx.h"#include <iostream>using namespace std;class base;base * 阅读全文
posted @ 2012-07-30 10:52 Ebel 阅读(211) 评论(0) 推荐(0) 编辑
摘要: F1: 帮助Ctrl+O :OpenCtrl+P :PrintCtrl+N :NewCtrl+Shift+F2 :清除所有书签F2 :上一个书签Shift+F2 :上一个书签Alt+F2 :编辑书签Ctrl+F2 :添加/删除一个书签F12 :Goto definitionShift+F12 :Goto referenceCtrl+'Num+' :Displays the next symbol definition or referenceCtrl+'Num-' :Displays the previous symbol definition or refer 阅读全文
posted @ 2012-06-29 16:58 Ebel 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1 import flash.display.Sprite; 2 import flash.display.Loader; 3 import flash.net.URLRequest; 4 import flash.events.Event; 5 import flash.display.Bitmap; 6 import flash.display.BitmapData; 7 8 var pixelsArr : Array; 9 var loader : Loader;10 var url : String;11 var bitMap : Bitmap;12 var outPut : Bi.. 阅读全文
posted @ 2012-05-19 15:56 Ebel 阅读(578) 评论(0) 推荐(0) 编辑