Visual Studio 2019安装下载 C++ Hello world
官网下载
链接:https://visualstudio.microsoft.com/downloads/
上图是示例,也可以选择其他版本。
C++编译环境
1、安装工具
2、新建项目并打开
3、选择视图,调出解决方案资源管理器
4、点击源文件,新建项,新建cpp文件
Hello world
#include<iostream>
using namespace std;
int main() {
cout << "hello world" << endl;
system("pause");
return 0;
}
点击调试
运行后如图: