当前位置:网站首页>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 ~
边栏推荐
- Essai de pénétration (1) - - outils nécessaires, navigation
- Accounting regulations and professional ethics [2]
- Borg maze (bfs+ minimum spanning tree) (problem solving report)
- D - Function(HDU - 6546)女生赛
- The most complete programming language online API document
- [analysis of teacher Gao's software needs] collection of exercises and answers for level 20 cloud class
- Opencv learning log 13 corrosion, expansion, opening and closing operations
- Common configuration files of SSM framework
- Opencv learning log 12 binarization of Otsu method
- Information security - threat detection - Flink broadcast stream broadcaststate dual stream merging application in filtering security logs
猜你喜欢

渗透测试 ( 4 ) --- Meterpreter 命令详解

渗透测试 2 --- XSS、CSRF、文件上传、文件包含、反序列化漏洞

Pyside6 signal, slot

Penetration testing (5) -- a collection of practical skills of scanning King nmap and penetration testing tools

信息安全-史诗级漏洞Log4j的漏洞机理和防范措施
![[exercise-4] (UVA 11988) broken keyboard = = (linked list)](/img/59/78ca7170ab1fd364ec44cfbcdc7ab5.png)
[exercise-4] (UVA 11988) broken keyboard = = (linked list)

基于web的照片数码冲印网站

b站 實時彈幕和曆史彈幕 Protobuf 格式解析

Record of force deduction and question brushing

渗透测试 ( 7 ) --- 漏洞扫描工具 Nessus
随机推荐
信息安全-安全编排自动化与响应 (SOAR) 技术解析
Opencv learning log 14 - count the number of coins in the picture (regardless of overlap)
滲透測試 ( 1 ) --- 必備 工具、導航
MySQL授予用户指定内容的操作权限
Research Report of peripheral venous catheter (pivc) industry - market status analysis and development prospect prediction
[exercise-2] (UVA 712) s-trees
[exercise-5] (UVA 839) not so mobile (balance)
Penetration test (8) -- official document of burp Suite Pro
Research Report of cylindrical grinder industry - market status analysis and development prospect forecast
New to redis
信息安全-威胁检测-NAT日志接入威胁检测平台详细设计
Perform general operations on iptables
HDU-6025-Coprime Sequence(女生赛)
【练习-6】(PTA)分而治之
初入Redis
Essai de pénétration (1) - - outils nécessaires, navigation
Analyse du format protobuf du rideau en temps réel et du rideau historique de la station B
Interesting drink
Research Report of exterior wall insulation system (ewis) industry - market status analysis and development prospect prediction
Information security - threat detection - detailed design of NAT log access threat detection platform