
Daily
benny5609
普通得不能再普通的80年代后
展开
-
idea
1.fight with the snake 2.human s grown up history原创 2009-11-14 08:09:00 · 617 阅读 · 0 评论 -
learn linux
<br />1.linux shell原创 2010-07-18 23:03:00 · 1941 阅读 · 0 评论 -
普通函数定义在头文件
1.此函数应该被定义为static防止多次定义的link error2.如果是全局变量, 则加 __declspec(selectany), 防多次定义原创 2010-05-05 11:54:00 · 825 阅读 · 1 评论 -
game devlope
<br />1.美术,服务端,客户端,数据库,运营,资金<br /> <br />2.创新,外挂原创 2010-06-29 00:07:00 · 865 阅读 · 0 评论 -
plan5.1
1.c/c++ compile principle2.linux network server3.windows gui4.effect c++5.lua script原创 2010-05-01 01:19:00 · 554 阅读 · 0 评论 -
Effective C++
Item 1: Prefer const and inline to #define.Item 2: Prefer to .Item 3: Prefer new and delete to malloc and free. Item 4: Prefer C++-style comments. Item 5: Use the same form in correspo原创 2010-04-05 23:32:00 · 652 阅读 · 0 评论 -
Effect STL
1.balanced tree 2.v.erase(remove(v.begin(),v.end(),5));原创 2010-03-31 22:31:00 · 1352 阅读 · 0 评论 -
传参 容器
1.直接传容器效率有问题, 传首指针? 传指针数据的指针? 容器指针? 包含迭代器起点和终点的wrapper?原创 2010-03-30 15:36:00 · 694 阅读 · 0 评论 -
things to do
1.classify the disk to study and entertainment(add disk volume, maybe?)2.cegui exception3.get snippet from company. ---4.get words in kingsoft dict back home原创 2010-03-08 10:54:00 · 521 阅读 · 0 评论 -
kernel
1. "@ e r r, h r " at watch2. TCHAR* buffer;DWORD error = GetLastError();::FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, error, 0, ( LPTSTR )&buf原创 2010-02-11 00:55:00 · 549 阅读 · 0 评论 -
类的静态函数静态变量
1.一个类过多的静态函数静态变量,这个类在多线程及多个实例以及继承里将难以实现原创 2010-07-26 09:40:00 · 1963 阅读 · 0 评论