- 博客(4)
- 收藏
- 关注
原创 错误: use of undefined type 'boost::STATIC_ASSERTION_FAILURE'
在编绎BOOST::Serialization 例子的时候,遇到的错误. // if your program traps here, it indicates taht your doing one of the following: // a) serializing an object of a type marked "track_never" through a pointe
2007-03-25 21:33:00 1751
转载 timeGetTime
在SDK中,可以用DWORD timeGetTime(VOID)函数获取系统时间,其返回值是毫秒单位的。可以用其实现延时功能的函数。void Delay(DWORD delayTime){ DWORD delayTimeBegin; DWORD delayTimeEnd; delayTimeBegin=timeGetTime(); do { delayT
2006-10-23 15:36:00 3144
转载 John Carmack密码
John Carmack密码[ZT]John Carmack密码:0x5f3759df 有人在Quake III的源代码http://www.fileshack.com/file.x?fid=7547里面发现这么一段用来求平方根的代码:/*================SquareRootFloat================*/float SquareRootFloat(float
2006-08-09 10:43:00 1028
原创 C++ Design Patterns : Template + Factory Method
//////////////////////////////////////////////////////////////////////////// 文件名称: Factory.h// 文件描述: 泛形工厂(工厂模式)// 版本 : 1.0// 作者 : Mor// 完成日期: 2006-11-07/////////////////////////////////////
2006-07-04 10:38:00 1354
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人