摘要: Multi-Statement Macros It's common to write a macro that consists of multiple statements. For example, a timing macro: #define TIME(name, lastTimeVariable) NSTimeInterval now = [[NSProcessInfo processInfo] systemUptime];if(lastTimeVariable) NSLog(@"%s: %f seconds", name, now - lastTime 阅读全文
posted @ 2011-03-18 12:55 walfud 阅读(1438) 评论(0) 推荐(0) 编辑
摘要: 2. Release和Debug有什么不同Release版称为发行版,Debug版称为调试版。Debug中可以单步执行、跟踪等功能,但生成的可执行文件比较大,代码运行速度较慢。Release版运行速度较快,可执行文件较小,但在其编译条件下无法执行调试功能。Release的exe文件链接的是标准的MFC DLL(Use MFC in a shared or static dll)。这些DLL在安装Windows的时候,已经配置,所以这些程序能够在没有安装Visual C++ 6.0的机器上运行。而Debug版本的exe链接了调试版本的MFC DLL文件,在没有安装Visual C++6.0的机器 阅读全文
posted @ 2011-03-17 21:48 walfud 阅读(273) 评论(0) 推荐(0) 编辑
摘要: [汇编语言]http://www.asmcommunity.net/http://www.masm32.com/ [Win32 Asm]http://www.cs.cmu.edu/~ralf/files.html [x86中断列表]http://www.nasm.us/ [NASM]http://www.winasm.net/ [Winasm汇编编辑器]http://x86asm.net/index.htmlhttp://flatassembler.net/ [FASM]http://www.wasm.ru/ [Windows驱动开发]http://www.osronline.com [Win 阅读全文
posted @ 2011-03-17 21:47 walfud 阅读(259) 评论(0) 推荐(1) 编辑
摘要: You'd know it before you need ... 阅读全文
posted @ 2011-03-17 21:46 walfud 阅读(391) 评论(0) 推荐(0) 编辑