#ifndef WIN32
#define WIN32
#endif
#include <iostream>
using namespace std;
int main() {
#ifdef _WIN64
cout << "_WIN64 is defined as " << _WIN64 << endl;
#endif
#ifdef _WIN32
cout << "_WIN32 is defined as " << _WIN32 << endl;
#endif
cin.get();
return 0;
}
常量\定义 | 预定义选项 | Windows.h | VC编译器 |
WIN32 | Win32 | √(minwindef.h) | × |
_WIN32 | × | × | √ |
_WIN64 | × | × |
x64 |
下载说明
☉本站所有源码和资源均由站长亲自测试-绝对保证都可以架设,运营!
☉如源码和资源有损坏或所有链接均不能下载,请告知管理员,
☉本站软件和源码大部分为站长独资,资源购买和收集,放心下载!
☉唯一站长QQ:1004003180 [人格担保-本站注重诚信!]
☉购买建议E-mail:1004003180@qq.com 源码收购 E-mail:1004003180@qq.com
☉本站文件解压密码 【文章内都自带解压密码,每个密码不同!】