Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3682
  • 博文数量: 4
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 25
  • 用 户 组: 普通用户
  • 注册时间: 2015-11-05 11:23
文章分类

全部博文(4)

文章存档

2015年(4)

我的朋友
最近访客

发布时间:2015-11-06 14:24:41

主要函数: MiniDumpWriteDump代码示例:#include #include #include #pragma comment(lib, "Dbghelp.lib")LONG WINAPI MyUnhandledFilter(struct _EXCEPTION_POINTERS*lpExceptionInfo){LONG ret = EXCEPTION_EXECUTE_HANDLER;TCHAR szFileNa.........【阅读全文】

阅读(769) | 评论(0) | 转发(0)

发布时间:2015-11-06 14:01:53

1.    w()函数:函数功能:分割路径为 FileTitle, extension四部分。例子:Cstring strFullPath =_T(“c:\user\you\test.doc”);TCHAR dir[_MAX_DIR];TCHAR ext[_MAX_EXT]; (, drive, _MAX_DRIVE, , _MAX_DIR, fname, _MAX_FNAME, ext, _MAX_EXT); 执行结果:.........【阅读全文】

阅读(865) | 评论(0) | 转发(0)

发布时间:2015-11-05 16:13:32

1.msdn 在debug模式下的内存结构(曾今在gaia引擎里看过类似的自己模仿实现的内存管理结构)typedef struct _CrtMemBlockHeader{// Pointer to the block allocated just before this one:   struct _CrtMemBlockHeader *pBlockHeaderNext;// Pointer to the block allocated just aft.........【阅读全文】

阅读(185) | 评论(0) | 转发(0)

发布时间:2015-11-05 11:24:19

这篇博文只是为了给自己留个笔记而已.1.boost::tokenizer 的用法.当一个字符串使用某个分隔符的时候, 想快速的拿到分割后的字串, 可以使用.#include <boost/tokenizer.hpp> int main(){    std::string teststr = "14,24,rt| &44,56";    boost::char_separator<char> separator(",");    boost::t......【阅读全文】

阅读(226) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册