在__ VA_ARGS __宏前面加上## 作用在于当可变参数为0时,这里的##起到把前面的那个逗号去掉,否则会出现编译错误。 #define my_print1(...) printf(__VA_ARGS__) // # ...
確定! 回上一頁