当前位置:网站首页>Vs2019 initial use
Vs2019 initial use
2022-07-06 16:04:00 【Programming fish 66】
Preface
I reset my computer some time ago , As a result, many software has been deleted , So it was reinstalled , By the way, take some “ Old age lags behind ” The software of has been updated to the latest version . The new version of the software is really different from the previous version , It's more human 、 Functions have also been added , The most profound experience is Adobe Photoshop 2020 Too friendly to novices , I strongly recommend you to learn PS.
Back to VS, The full name is Visual Studio, yes Microsoft One of its IDE, go by the name of “ Universe first IDE”, Basically, popular programming languages can write on it , Ten “ whole ”, But these are not recognized by most users “ Love ”,“ whole ” signify “ Big ” It also means not good at , For example, although VS Support python, But I don't usually use it to write , Because there are good tools such as PyCharm etc. ,Java It's the same thing .
We usually use VS Write C、C++、C# etc. . Don't say anything else , This article mainly introduces the installation VS2019、 How to be in VS2019 Write the first C Language program and some other problems of installation . If you still use VC++ 6.0 Write C Language , Give it to me quickly “ kill ”, Computer level 2 is not used , You're still using .
- install VS2019
- Write the first C Language program
- Other precautions
install VS2019
Download the installer directly from the official website , Then install it . Download the Community Edition , Because it's free ( Just register a Microsoft account ), And it's enough for most of us .
Particular attention
: Be sure to change the installation path , because VS2019 Will take up a lot of space ,5,6 individual G Well . In the choice The workload When to choose “ Use C++ Desktop development
”( To configure C The language environment needs , Of course, you can choose according to your needs ), I suggest you put “Visual Studio Extended development
” Also choose , Then install .
The most important thing is : must do Connected to the Internet
. It will take a while , You can have a cup of coffee .
Write the first C Language program
installed , It's about using . In the face of such a “ huge monster ”, For the novice , It's really not very friendly , Want to write a simple C Language has a long way to go . step1 : open VS2019, choice Create a new project
.
step2: choice Empty item
, And then the next step .
step3: Change the name , Select location , Then create .
step4: Right click the source file in the scheme Explorer , add to , Select new item .
step5: choice C++ file , Change the name to .c file (.c by C Language program ,.cpp by C++ Program ), Then add .
step6: Enter the following code :
#include <stdio.h>
int main()
{
printf("Hello World !");
return 0;
}
step7:Ctrl+F5
, Output is as follows :
Other precautions
Finally, write some notes in the programming process . The first is font , It is suggested to use one that is easy to distinguish 0O1i The font of , recommend Consolas
. Change menu in Tools
, Options
, Font and color
, And then put Text editor
、 Output window
, Command window
All fonts have changed .
The second is VS The project file of is based on .sln A file with a suffix , Double click to open the previously closed VS, Be sure to pay attention to whether it is opened to .c A file with a suffix .
Third, if you want to remove the right-click menu ” stay Visual Studio Open in “.
Create a new text document , Enter the following :
Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\Directory\Background\shell\AnyCode] [-HKEY_CLASSES_ROOT\Directory\shell\AnyCode]
Save the document , And its Extension Rename it to :xxx.reg,, Then double click ok .
Visual Studio 2019 The most eye-catching is Visual Studio Live Share
, Real time collaborative development , It's too powerful. .
C/C++ Getting started video , Provide it to zero based partners C Introduction to language learning , Study C/C++ Programming knowledge , Welcome to your attention UP, You can also enter UP Penguin learning group :828339809 Progress together , More high-quality learning tutorials are constantly updated ~
边栏推荐
- China's peripheral catheter market trend report, technological innovation and market forecast
- Interesting drink
- Pyside6 signal, slot
- [exercise 4-1] cake distribution
- Information security - Analysis of security orchestration automation and response (soar) technology
- 滲透測試 ( 1 ) --- 必備 工具、導航
- 【练习-7】(Uva 10976)Fractions Again?!(分数拆分)
- Shell Scripting
- 【练习-2】(Uva 712) S-Trees (S树)
- JS call camera
猜你喜欢
7-1 understand everything (20 points)
渗透测试 ( 2 ) --- 渗透测试系统、靶机、GoogleHacking、kali工具
PySide6 信号、槽
7-1 懂的都懂 (20 分)
Web based photo digital printing website
渗透测试 ( 8 ) --- Burp Suite Pro 官方文档
信息安全-史诗级漏洞Log4j的漏洞机理和防范措施
Information security - threat detection - detailed design of NAT log access threat detection platform
信息安全-威胁检测-flink广播流BroadcastState双流合并应用在过滤安全日志
1010 things that college students majoring in it must do before graduation
随机推荐
Essai de pénétration (1) - - outils nécessaires, navigation
0-1背包問題(一)
Information security - Analysis of security orchestration automation and response (soar) technology
区间和------离散化
Truck History
Research Report on market supply and demand and strategy of Chinese graphic screen printing equipment industry
程序员的你,有哪些炫技的代码写法?
[exercise-8] (UVA 246) 10-20-30== simulation
JS call camera
Perinatal Software Industry Research Report - market status analysis and development prospect forecast
Opencv learning log 33 Gaussian mean filtering
Find 3-friendly Integers
【练习-1】(Uva 673) Parentheses Balance/平衡的括号 (栈stack)
Penetration test (4) -- detailed explanation of meterpreter command
frida hook so层、protobuf 数据解析
【高老师UML软件建模基础】20级云班课习题答案合集
Nodejs crawler
Auto.js入门
China exterior wall cladding (EWC) market trend report, technical dynamic innovation and market forecast
【练习-10】 Unread Messages(未读消息)