编译c++文件有时会提示 Note: C++ does not support default-int 下面给出一个解决方法 右击当前工程-->配置属性-->C/C++--->命令行 然后在附加选项中输入/wd4430