在Microsoft Visual Studio 2017中,新建一個空白項目:

image.png

image.png
在 Source Files目錄下加一個新文件 - a.cpp
#include <stdio.h>
int main()
{
puts("hello world");
return 0;
}
編譯(Ctrl+Shift+B)后運行:

image.png
在Microsoft Visual Studio 2017中,新建一個空白項目:
在 Source Files目錄下加一個新文件 - a.cpp
#include <stdio.h>
int main()
{
puts("hello world");
return 0;
}
編譯(Ctrl+Shift+B)后運行: