#if #else #endif 用法和 if else 一样么?

2025-03-23 04:37:02
推荐回答(1个)
回答1:

差不多吧
#if #else #endif是条件编译时用的,根据所给条件,选择编译哪些代码
if else 是程序运行时起作用