使用VS2022新建第一个项目
<h3>1. 打开VS2022</h3>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=2098f4438e5e195e1ab4269d2d76c01d&amp;file=file.png" alt="" /></p>
<h3>2. 选择新建一个项目/工程</h3>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=928962d536132012c7de3c2fa1f6d224&amp;file=file.png" alt="" /></p>
<h3>3. 筛选需要的项目/工程类型</h3>
<p><h4 style="display:inline">
(1)选择语言类别:<span style="color:red">C++</span>
</h4>
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=8c29f003cd51c17c2e9ff452dadca296&amp;file=file.png" alt="" /></p>
<p><h4 style="display:inline">
(2)选择程序应用类别:<span style="color:red">Console/控制台</span>
</h4>
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=e508f868ef5913e27bce660687db3802&amp;file=file.png" alt="" /></p>
<p><h4 style="display:inline">
(3)在筛选出来的项目类型中选择:<span style="color:red">Console App/控制台应用</span>
</h4>
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=d344ccbf02707fed41d43d53ad636675&amp;file=file.png" alt="" /></p>
<p><h4 style="display:inline">
(4)根据当前页面配置项目的名称、项目文件位置、解决方案名称等,然后点击【新建】按钮即可。
</h4>
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=7d9095ff2c0dc094aa4f6e90d2f70fa8&amp;file=file.png" alt="" /></p>
<h3>4. 找到【源文件/Sources Files】,修改 ***.cpp文件的内容</h3>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=07716f07d00e827d65a8d13f1d0c62d2&amp;file=file.png" alt="" /></p>