
C
peter_teng
这个作者很懒,什么都没留下…
展开
-
C/C++语言中#的神奇作用:把宏参数字符串化/贴合宏参数
宏中"#"和"##"的用法 一、一般用法 我们使用#把宏参数变为一个字符串,用##把两个宏参数贴合在一起.#define STR(s) #s #define CONS(a,b) int(a##e##b)printf(STR(vck)); // 输出字符串"vck" printf("%d\n", CONS(原创 2013-08-03 11:49:59 · 23939 阅读 · 3 评论 -
LoadLibrary文件路径及windows API相关的文件路径问题
LoadLibraryHMODULE WINAPI LoadLibrary( _In_ LPCTSTR lpFileName);Loads the specified module into the address space of the calling process. The specified module may cause other mo原创 2013-08-05 20:22:43 · 19897 阅读 · 1 评论