欢迎来到贱贱的博客

扩大
缩小

2017年11月18日

c语言中#和##的用法

摘要: 一、一般用法 我们使用#把宏参数变为一个字符串,用##把两个宏参数贴合在一起. 用法: #include<cstdio> #include<climits> using namespace std; #define STR(s) #s #define CONS(a,b) int(a##e##b) i 阅读全文

posted @ 2017-11-18 19:54 L的存在 阅读(13991) 评论(0) 推荐(1) 编辑

导航