项目属性 -> 配置属性 -> C/C++ -> 高级 -> 编译为 -> 选择 `编译为C代码(/TC)` 参考资料: http://stackoverflow.com/questions/28605/c-on-visual-studio 相关文章: 2021-12-10 2021-10-27 2021-04-04 2021-12-12 2021-12-30 2021-05-16 2021-12-04