if.cpp
来自「这个是我们学校用的VC++教案」· C++ 代码 · 共 15 行
CPP
15 行
#include <iostream.h>
#define DEBUG // 宏定义
main()
{
int nDebug=50;
int nRealse=6;
// . . . . . .
#ifdef DEBUG
cout<<"DEBUG: value of is "<<nDebug<<endl; // 调试版
#else
cout<<"RELEASE: value of is "<<nRealse<<endl; // 正式版
#endif
return 1;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?