当前位置:网站首页>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 ~
边栏推荐
- Matlab comprehensive exercise: application in signal and system
- [exercise-5] (UVA 839) not so mobile (balance)
- 【练习-4】(Uva 11988)Broken Keyboard(破损的键盘) ==(链表)
- Nodejs+vue online fresh flower shop sales information system express+mysql
- China potato slicer market trend report, technical dynamic innovation and market forecast
- C 基本语法
- Gartner:关于零信任网络访问最佳实践的五个建议
- Penetration test (7) -- vulnerability scanning tool Nessus
- Borg maze (bfs+ minimum spanning tree) (problem solving report)
- Opencv learning log 13 corrosion, expansion, opening and closing operations
猜你喜欢
信息安全-史诗级漏洞Log4j的漏洞机理和防范措施
【练习-5】(Uva 839)Not so Mobile(天平)
B - 代码派对(女生赛)
D - Function(HDU - 6546)女生赛
[analysis of teacher Gao's software needs] collection of exercises and answers for level 20 cloud class
Penetration testing (5) -- a collection of practical skills of scanning King nmap and penetration testing tools
Penetration test (7) -- vulnerability scanning tool Nessus
Optimization method of path problem before dynamic planning
洛谷P1102 A-B数对(二分,map,双指针)
渗透测试 ( 4 ) --- Meterpreter 命令详解
随机推荐
通俗地理解什么是编程语言
[exercise 4-1] cake distribution
【练习-4】(Uva 11988)Broken Keyboard(破损的键盘) ==(链表)
Nodejs+vue网上鲜花店销售信息系统express+mysql
Penetration test (2) -- penetration test system, target, GoogleHacking, Kali tool
New to redis
STM32 how to use stlink download program: light LED running light (Library version)
[exercise-9] Zombie's Treasury test
Accounting regulations and professional ethics [4]
Nodejs+vue online fresh flower shop sales information system express+mysql
[exercise -10] unread messages
【练习-10】 Unread Messages(未读消息)
信息安全-威胁检测-flink广播流BroadcastState双流合并应用在过滤安全日志
Research Report of peripheral venous catheter (pivc) industry - market status analysis and development prospect prediction
[teacher Gao UML software modeling foundation] collection of exercises and answers for level 20 cloud class
Information security - threat detection - detailed design of NAT log access threat detection platform
JS call camera
Opencv learning log 15 count the number of solder joints and output
Research Report on shell heater industry - market status analysis and development prospect forecast
Record of force deduction and question brushing