- 博客(4)
- 资源 (3)
- 收藏
- 关注
原创 异常时输出异常来源
条件:需要pdb调试符号文件 可以使用seh将程序入口包围起来,一旦出现异常,就在异常处理器中,查询其pdb符号文件 输出异常的代码行以及堆栈,这对日常调试跟踪问题,很有益处 int __cdecl ExceptionHandler(PEXCEPTION_POINTERS pExp, LPCSTR Message) { memset(bufferIMAGEHLP_SYMBOL,0,1024
2014-02-24 20:47:18 827
原创 内存泄露输出
vc程序在调试模式下,new分配的内存通过一个结构体CrtMemBlockHeader来形成双链表 typedef struct CrtMemBlockHeader{ struct CrtMemBlockHeader *pBlockHeaderNext; // Pointer to the block allocated just before this one: struct Crt
2014-02-24 20:39:08 1074
原创 基本算法之字符串匹配算法Sunday
//////////////////////////////////////////////////////////////////////////////// int sundaySearch(const char *mainStr,const char *subStr) { if(mainStr==NULL || subStr==NULL) return -1; int mainStr
2014-02-24 20:03:08 933
转载 基本算法收集
转自http://blog.csdn.net/girlkoo/article/details/17606173,稍加整理 冒泡排序 void bubble_sort(int *array, int len){ int temp = 0; for(int i = 1; i != len; ++i){ // for(int j = 0; j != len-
2014-02-24 21:06:37 530
A_Practical_Model_for_Subsurface_Light_Transport.pdf
2011-03-16
Light Scattering from Human Hair Fibers
2011-03-16
[Embedded Linux Primer A Practical Real-World Approach][Word] .rar
2008-03-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人