每天学一点c++:##
摘要:
##连接前后的内容,使之成为一个整体示例:#include #include using namespace std;#define concatenate(x) x ## yint main(){ string xy ="Hello,World!"; cout << concatenate(x,y) <<endl; return 0;}cout << concatenate(x,y) <<endl;等同于cout << xy <<endl; 阅读全文
posted @ 2014-03-31 16:49 敖天 阅读(177) 评论(0) 推荐(0)
浙公网安备 33010602011771号