diff --git a/program/c_cpp/universal/ansi.md b/program/c_cpp/universal/ansi.md index 8f5b2b6..1004a2a 100644 --- a/program/c_cpp/universal/ansi.md +++ b/program/c_cpp/universal/ansi.md @@ -1,5 +1,8 @@ # ANSI转义字符归纳表 +## 在代码中检测是否支持ANSI C +`#if __STDC__ == 1` + --- ## **1. 文本样式控制** diff --git a/program/c_cpp/universal/compile.md b/program/c_cpp/universal/compile.md index 6438bc1..8a4bfc2 100644 --- a/program/c_cpp/universal/compile.md +++ b/program/c_cpp/universal/compile.md @@ -5,6 +5,7 @@ - [预定义宏](#预定义宏) - [ifdef](#ifdef) - [ifndef](#ifndef) +- [undef](#undef) : 若要修改一个宏,先移除再定义 - [endif](#endif) - [pragma](#pragma) - [error](#error)