C语言程序设计基础

C语言技术


使用VS2022新建第一个项目

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

页面列表

ITEM_HTML