摘要: Whitespace : In computer science, whitespace is any single character or series of characters that represents horizontal or vertical space in typography. When rendered, a whitespace character does not ... 阅读全文
posted @ 2009-03-02 22:18 能巴 阅读(263) 评论(0) 推荐(0)
摘要: In c++, we should keep using c style union. Although c++ union supports constructor, we'd better not use it. Actually, no need to use constructor for union basically. Going deeper, even as the expande... 阅读全文
posted @ 2009-03-02 22:14 能巴 阅读(265) 评论(0) 推荐(0)
摘要: How to Organize solution and projects On solution level: there is Solution Folder to organize projects to be different groups which is logically organized, not physically (on disk);The logical relatio... 阅读全文
posted @ 2009-03-02 22:06 能巴 阅读(228) 评论(0) 推荐(0)
摘要: Preprocessor directives can appear anywhere in a source file, but they apply only to the remainder of the source file. #error:Error directives produce compiler-time error messages. #if !defined(__cpl... 阅读全文
posted @ 2009-03-02 21:56 能巴 阅读(282) 评论(0) 推荐(0)
摘要: Exporting from a DLL A DLL file has a layout very similar to an .exe file, with one important difference — a DLL file contains an exports table. The exports table contains the name of every function... 阅读全文
posted @ 2009-03-02 21:50 能巴 阅读(281) 评论(0) 推荐(0)
摘要: LoadLibrary HMODULE WINAPI LoadLibrary( __in LPCTSTR lpFileName ); Return Value If the function succeeds, the return value is a handle to the module.If the function fails, the return value is NULL. To... 阅读全文
posted @ 2009-03-02 21:29 能巴 阅读(669) 评论(0) 推荐(0)
摘要: 在编写程序的时候,我们经常要用到#pragma指令来设定编译器的状态或者是指示编译器完成一些特定的动作。 MSDN: Each implementation of C and C++ supports some features unique to its host machine or operating system. Some programs, for instance, need ... 阅读全文
posted @ 2009-03-02 12:06 能巴 阅读(254) 评论(0) 推荐(0)