
ABC
文章平均质量分 62
firetoucher
这个作者很懒,什么都没留下…
展开
-
菜鸟学C++
2004/7/2------------------------------------------------------------------------------------------how to debug register?here is a example:typedef struct regs_t{ DWORD eax; DWORD ebx; DWORD ecx; DWOR原创 2004-11-23 10:30:00 · 1496 阅读 · 0 评论 -
补习Google
今天在别人叶子上看到了一篇叶子,推荐《一篇改变世界的论文》,是关于Web搜索的,虽然不是我的专业,不过既然这样说,我也要去看看的:《The Anatomy of a Large-Scale Hypertextual Web Search Engine》, Sergey Brin , Lawrence Page, Computer Science Department, Stanford Unive原创 2005-12-10 11:12:00 · 1117 阅读 · 0 评论 -
编程急转弯
2004/11/29how to realize a memcpy function?My answer:int memcpy(char* scr,char* des,int size){assert(des);assert(scr);assert((size>0)&&(sizeint r=0;for(r = 0;r*((int*)des+r)=*((int*)scr+r);r*=4;for(;r原创 2006-01-09 13:52:00 · 1481 阅读 · 0 评论 -
for初始语句中声明变量的作用域问题
[论坛链接]在for的初始语句中声明的变量,按C++98标准的规定,有效期仅为for循环中,详见ISO-IEC14882:6.5.3 The for statement [stmt.for]3 If the for-init-statement is a declaration, the scope of the name(s) declared extends to the end原创 2006-02-28 13:29:00 · 4668 阅读 · 0 评论 -
Who is in me? -- Freeware on Windows
前些日子硬盘忽然罢了一下工,可把我吓出一身冷汗。为了预防以后此类“不可抗力”因素,觉得即使在这里简单的自己的机器“口水”backup一下也比什么没有的好。这里我只列出自己windows平台下一些比较通用的免费软件, 编程环境Dev-C++Borland Developer Studio 2006装了里面的一个Borland Turbo C++,不过几乎不用,只是用来怀念原创 2007-11-30 13:00:00 · 2623 阅读 · 0 评论 -
烂笔头网记
Memory Leaks Detection: A Different Approach 此文讨论了现在内存泄漏工具的一些不足,比如误报。不过个人在这种问题上要求比较严格,所以“误报”也是“报”!此文最后列出来的两个内存泄漏探测工具还是可以看看的,列在这里:Windows Leaks Detector (sourceforge.net/projects/winleak) for Win32 a原创 2007-12-19 14:59:00 · 2623 阅读 · 0 评论