0

我正在尝试在 Visual Studio 2019 中编译 C 程序,我将“编译为”设置为“编译为 C 代码 (/TC)”,并且 cstdio 未包含在我的项目中的任何位置,但它仍然给我 cstdio 错误

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\cstdio(33,1): error C2061: syntax error: identifier 'std'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\cstdio(33,1): error C2059: syntax error: ';'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\cstdio(33,1): error C2449: found '{' at file scope (missing function header?)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\cstdio(91,1): error C2059: syntax error: '}'
4

0 回答 0