787047636 发表于 2020-9-28 19:03:11

使用vscode写语言,打印hello world,居然打印出来了两个

#include<stdio.h>

int main()
{
    printf("Hello World\n");
    return 0;
}

昨非 发表于 2020-9-28 19:10:22

不会吧

787047636 发表于 2020-9-28 19:50:40

PS C:\Users\Xiachao\Desktop\code>& 'c:\Users\Xiachao\.vscode\extensions\ms-vscode.cpptools-1.0.1\debugAdapters\bin\WindowsDebugLauncher.exe' '--stdin=Microsoft-MIEngine-In-zsmrv5hg.xwq' '--stdout=Microsoft-MIEngine-Out-y4e1lgvm.zdm' '--stderr=Microsoft-MIEngine-Error-maflihu3.qpe' '--pid=Microsoft-MIEngine-Pid-e1ywfcxh.nl2' '--dbgExe=C:\mingw64\bin\gdb.exe' '--interpreter=mi'
Hello World
PS C:\Users\Xiachao\Desktop\code>& 'c:\Users\Xiachao\.vscode\extensions\ms-vscode.cpptools-1.0.1\debugAdapters\bin\WindowsDebugLauncher.exe' '--stdin=Microsoft-MIEngine-In-sb3qrcem.ng0' '--stdout=Microsoft-MIEngine-Out-rf1soj0o.5ai' '--stderr=Microsoft-MIEngine-Error-2agn1ywx.m51' '--pid=Microsoft-MIEngine-Pid-yzk3yflk.y1h' '--dbgExe=C:\mingw64\bin\gdb.exe' '--interpreter=mi'
Hello World
PS C:\Users\Xiachao\Desktop\code>
打印出来是这样的页面

787047636 发表于 2020-9-28 19:52:50

是两个hello world吧
页: [1]
查看完整版本: 使用vscode写语言,打印hello world,居然打印出来了两个