2011年11月28日
| 作者: 【转载】
| 3775 字
| 8 分钟
本文简单介绍了当前 Windows 支持的各种 Socket I/O 模型,如果你发现其中存在什么错误请务必赐教。 一: select 模型 二: WSAAsyncSelect 模型 三: WSAEventSelect 模型 四: Overlapped I/O 事件 ……
阅读全文
2011年11月17日
| 作者: Witton Bell
| 651 字
| 2 分钟
前些天把一个项目从XP 32位平台拿到Win7 64位平台去编译运行,用VS2008按Win32的方式编译连接都通过,但是一 ……
阅读全文
2010年11月5日
| 作者: 【转载】
| 2378 字
| 5 分钟
The native debugger in Visual Studio has long had an underadvertised feature called autoexp.dat , which is a file in the PackagesDebugger folder that allows you to control several aspects of the debugger. Among the features that you can control in autoexp.dat include: the string that is displayed for types in the variable panes, which functions the debugger will skip ……
阅读全文
2010年10月31日
| 作者: Witton Bell
| 1311 字
| 3 分钟
在Unreal引擎中大量使用了自定义的数据类型如:FName,FString,TArray等等,对于这些自定义的数据类型 ……
阅读全文
2010年6月10日
| 作者: Witton Bell
| 1006 字
| 3 分钟
我前一阵子在整理磁盘碎片时,觉得WINDOWS分区用久了会有很多碎片,整理起来麻烦,而LINUX分区没有这么麻烦,就想在 ……
阅读全文
2010年2月3日
| 作者: Witton Bell
| 241 字
| 1 分钟
今天我在项目中写了一段代码,这段代码中有两个类A和B,类A中的一个保护成员函数需要访问类B中的私有成员变量,为了简便起见 ……
阅读全文
2010年1月31日
| 作者: Witton Bell
| 793 字
| 2 分钟
在C/C++中我们有时为了节省内存占用空间,需要使用到位域,如下所示代码: struct SDummy { int A : 2; int B : 8; int C : 12; int D : 10; }; 在计算 ……
阅读全文
2009年11月15日
| 作者: Witton Bell
| 980 字
| 2 分钟
上周,我一同事,在调试我们项目的时候,发现我写的一段代码中,有一个类成员函数指针数组有大小有点怪异,便叫我过去瞧瞧。有如 ……
阅读全文
2009年6月8日
| 作者: Witton Bell
| 738 字
| 2 分钟
看到gcc 4.4.0已经出来了,据说相比4.3.X有较大的性能提升,对 C++ 0x 标准的支持也有了大幅提升。上周就把公司的Lin ……
阅读全文
2009年4月30日
| 作者: Witton Bell
| 311 字
| 1 分钟
前一阵子在做项目的时候,遇到一个感觉比较怪异的问题:在项目中我们用了Lua作为脚本扩展支持,Lua是以静态库的形式编译进 ……
阅读全文