当前位置:网站首页>C language development environment construction: vscode+gcc
C language development environment construction: vscode+gcc
2022-07-16 09:00:00 【Chocolate code】
List of articles
One . VSCode Introduce
VSCode( Full name :Visual Studio Code) It is a cross platform free source developed by Microsoft Code editor . The software supports syntax highlighting 、 Code auto completion ( also called IntelliSense)、 Code refactoring 、 View definition function , And built-in command-line tools and Git Version control system . Users can change themes and keyboard shortcuts to personalize , You can also install extensions through the built-in extension store to expand software functions .
VS Code Use Monaco Editor As its underlying code editor .
VSCode Official website https://code.visualstudio.com/

Two . GCC compiler
Linux System comes with gcc compiler
gcc And g++ Namely gnu Of c & c++ compiler gcc/g++ When doing compilation work , All in all 4 Step :
1、 Preprocessing , Generate .i The file of [ The preprocessor cpp]
2、 Convert the preprocessed file into assembly language , Generate the file .s [ compiler egcs]
3、 There is assembly into object code ( Machine code ) Generate .o The file of [ Assembler as]
4、 Connect object code , Generate executable [ The linker ld]
MinGW The full name is :Minimalist GNU on Windows , It's actually going to be gcc(c/c++ compiler ) Transplanted to Windows Under the platform , And it includes Win32API , So you can compile the source code to be available in Windows Executable program running in . And you can use some Windows Do not have the ,Linux Development tools under the platform .
Official website https://www.mingw-w64.org/

1. install
Extract the installation package to D Under the plate 
Configure environment variables , take bin Directory configuration to path in .
Verify that the installation was successful , stay cmd Enter command in gcc -v.
Installation successful 
3、 ... and . VScode Middle configuration GCC
add to C plug-in unit 

边栏推荐
- The difference between wait and waitpid
- Response.Write具体介绍
- LeetCode 1584. Minimum cost of connecting all points
- Is there a completely independent localization database technology
- What happens when you unplug the power? Gaussdb (for redis) dual life keeps you prepared
- qt之QString正则表达式
- 【Day 2】机器阅读理解——常见机器阅读理解模型(上)
- HCIP第五天实验
- HCIP第五天笔记
- HCIP第二天笔记
猜你喜欢

Password key hard coding check

【IDEA】check out master invalid path 问题

What happens when you unplug the power? Gaussdb (for redis) dual life keeps you prepared

YOLOv5使用时遇到的问题

如何报考PMP项目管理认证考试?

How to recover the files deleted by win11 security center?

LeetCode 1584. Minimum cost of connecting all points

News: JD technology released the "ten billion income plan"; The president of Broadcom software business resigned
![[Go]二、RESTful API介绍和API流程和代码结构](/img/fd/8ae3d6a4c0d0c973ce81672c1c529c.png)
[Go]二、RESTful API介绍和API流程和代码结构

QT+VS 工程在 Release/Debug 文件夹下导入相关 DLL (非常实用)
随机推荐
Memory mapping principle and detailed explanation (very practical)
人工智能与 RPA 技术应用(一)-RPA弘玑产品介绍、设计器界面功能讲解
Judge whether two binary trees are isomorphic, and three implementation methods (recursion, queue, stack)
面试诈骗:竟然还有靠面试挣钱的公司
Flink SQL 求上一个月 是哪个函数?
Various methods of obtaining form handle in VC
Hcip day 5 notes
What happens when you unplug the power? Gaussdb (for redis) dual life keeps you prepared
基于STM32F405的硬件IIC+DMA操作分享
Famous pipeline principle and detailed explanation (very practical)
管理学的发展
通过网上的客户经理办理炒股开户,安全吗?
Otacle table query
【无标题】
Lesson 3: shortest distance
Extract the language you need from the multilingual data set and save it as CSV
匿名管道原理及详解(非常实用)
Where is the win11 uninstaller? Two methods of uninstalling software in win11
Hcip day 5 experiment
如何报考PMP项目管理认证考试?