【发布时间】:2012-01-27 19:12:53
【问题描述】:
我正在尝试了解 C++ 中预处理器定义的需求和用法。我了解包含保护#ifndef #define 和#endif 的使用。但是我不完全理解需要的用法:
Open the project's Property Pages dialog box.
Click the C/C++ folder.
Click the Preprocessor property page.
Modify the Preprocessor Definitions property.
【问题讨论】:
-
这只是一种在不更改代码的情况下执行
#define的方法。