摘要:
#define PRINT_INT( n ) printf( #n " = %d\n", n )#define PRINT_STRING( s ) printf( #s " = %s\n", s )//使用方法void test(void){ int a = 0; char str[] = "test string"; a++; PRINT_INT(a); PRINT_STRING(str);} 阅读全文
posted @ 2012-10-24 23:14
林德伟
阅读(205)
评论(0)
推荐(0)