Learn2Live

随机笔记

  • 二十四

  • 202503071009不要直接改系统的glibc版本

  • 202509181005virtualbox-qcow磁盘扩容

  • Linux 使用指北

  • 202512252303obs-studio区域录制

Home

❯

notes

❯

cpp

❯

宏

宏

2022年6月08日1分钟阅读

  • cpp
  • macro

do {…} while (0) 在宏定义中的作用

使用do{…}while(0)构造后的宏定义不会受到大括号、分号等的影响,总是会按你期望的方式调用运行。

see more in https://www.cnblogs.com/lanxuezaipiao/p/3535626.html


关系图谱

Created with Quartz v4.5.2 © 2025 - 2026 ❤️ Yychi