宏定义
/**/
#define M 1000
#define A(object) object
#define F(a,b) (a+b)
#define Concat(a,b) a##b
#define S(a) @#a
main(){
int a;
a = F(100,M);//a = (100 + 1000);
a = Concat(100, 100);//a = 100100
S(a);//@"a";
}
宏定义
原文:http://blog.csdn.net/summer493506332/article/details/45065633