会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
shajunxing
管理
2025年5月3日
C语言得到变参数量的宏,0参数不会错误返回1,gcc和msvc都测试通过
摘要: 参考 https://stackoverflow.com/questions/2124339/c-preprocessor-va-args-number-of-arguments 我原先用的是: #define _expand(x) x #define _numargs(_0, _1, _2, _3
阅读全文
posted @ 2025-05-03 07:37 沙老师
阅读(1)
评论(0)
推荐(0)