0
点赞
收藏
分享

微信扫一扫

VS2019安装和使用教程(超详细)

犹大之窗 2022-01-31 阅读 72
wpfmicrosoft

VS2019安装与使用教程

Visual Studio 2019(VS2019)简介

1.个人版:Visual Studio Community

2.专业版:Visual Studio Professional

3.企业版:Visual Studio Enterprise

由于咱们都是学生,资金问题是个大的问题,在这里我将教大家如何安装——个人版:Visual Studio Community 2019版本(∵That’s because it’s free!

在这里插入图片描述

1.下载链接:VS官方网站

2.下载版本,下载Community2019版本的(个人版)

在这里插入图片描述

3.VS2019相关配置

在这里插入图片描述

4.提醒:位置我们一般情况是选择默认的位置,随后点击安装即可!

在这里插入图片描述

5.安装完成进入界面

在这里插入图片描述

6.创建我的第一个项目

在这里插入图片描述

在这里插入图片描述

截图中的代码如下

#include<iostream>
using namespace std;
int main()
{
	cout << "Hello World" << endl;
	system("pause");
	return 0;
}

⑥运行代码。我们可以点击本地Windows调试器,也可以直接按F5运行。
同时我们注意到左边项目1.01我的第一个代码字体是加粗的!
在这里插入图片描述

当然了,我们刚刚提到了一个解决方案可以有多个项目,接下来我们就创建另外的项目!

7.在当前解决方案中创建另外的项目

这时我们可以看见新的项目创建好啦,我们输入代码即可!
在这里插入图片描述

#include<iostream>
using namespace std;
int main()
{
	cout << "This is a C++ Program" << endl;
	system("pause");
	return 0;
}

 

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

举报

相关推荐

0 条评论