C++ 我的终端在VS代码中赢得';不要打印任何东西或给我一个错误。Don';我不知道为什么不打印

C++ 我的终端在VS代码中赢得';不要打印任何东西或给我一个错误。Don';我不知道为什么不打印,c++,terminal,compiler-errors,printf,C++,Terminal,Compiler Errors,Printf,刚刚用C/C++IntelliSense安装了Visual Studio代码。。。(Microsoft)和代码运行程序扩展。我也在使用MinGW。此代码拒绝打印到我的终端 #include<stdio.h> int main(){ printf("Hello World"); } #包括 int main(){ printf(“你好世界”); } 查看此文件时,按Ctrl+Shift+p并键入运行代码,然后按enter键。 您应该看到使用OUTPU

刚刚用C/C++IntelliSense安装了Visual Studio代码。。。(Microsoft)和代码运行程序扩展。我也在使用MinGW。此代码拒绝打印到我的终端

#include<stdio.h>

int main(){

    printf("Hello World");

}
#包括
int main(){
printf(“你好世界”);
}

查看此文件时,按Ctrl+Shift+p并键入
运行代码
,然后按enter键。 您应该看到使用
OUTPUT
选项卡打开的终端,并看到结果或错误


如果出现错误,请将其与您的问题一起发布。

您会遇到什么错误?请复制并粘贴到问题中。