#define

http://blog.csdn.net/pipisorry/article/details/29940471

#define TARGET "httpd"

#define SHARED_CORE_EXECUTABLE_PROGRAM "lib" ARGET ".ep"
main() {
        printf("%s\n",SHARED_CORE_EXECUTABLE_PROGRAM);
}


结果是:  
libhttpd.ep

不一定要用##连接一下


from:

http://blog.csdn.net/pipisorry/article/details/29940471

你可能感兴趣的:(in)