c++设置

62 阅读1分钟

首先打开你的文件。 image.png

然后打开工具,点击编译选项。

image.png

勾选编译时加入以下,输入-std=c99

image.png

完成以上操作以后,if语句中就可以直接用int。