当前位置:网站首页>Clion + mingw64 configure C language development environment visual studio installation
Clion + mingw64 configure C language development environment visual studio installation
2022-07-23 10:40:00 【It takes time for fish to find water】
Try not to have Chinese in the installation directory , used CLion Install the package and MinGW The package download link is placed at the end of the article
CLion install
Clion It's a specially developed C as well as C++ Designed cross platform IDE. It is a IntelliJ Designed for the foundation , It includes a lot of intelligent functions to improve the productivity of developers . This powerful IDE Help developers in Linux、OS X and Windows Come up and develop C/C++, At the same time, it can also use intelligent editors to improve code quality 、 Automatic code refactoring and deep integration Cmake Compiling system , So as to improve the working efficiency of developers .
Custom installation directory … skip

After installation, click try , New projects

After decompressing Mechanical activity Plug ins are directly dragged into the software . Each time you start the software, the activation time will be reset
MinGW
MinGW, namely Minimalist GNU For Windows. It is a collection of header files and port Libraries , This collection allows people to use... Without a third-party dynamic link library GCC(GNU Compiler C) produce Windows32 Program .
actually MinGW Not one C/C++ compiler , It's a set of GNU Tool set . Apart from GCC (GNU Compiler collection ) outside ,MinGW It also contains some other GNU Programming tools ( such as gawk bison wait ).
download , This link is slow to download

Download after decompression , take bin Directory configuration to environment variables 
Test installation
gcc -v
g++ -v

To configure CLion Environmental Science
File>>Settings


newly build C++ project , start-up 、 function 
Visual Studio
about CLion Environmental problems cannot be solved , You can also use Visual Studio, The installation compiler comes with its own installation environment , Avoid cumbersome environment configuration . This is downloaded and installed online , The installation package is not provided
Select during installation C++ It can be applied 



Right click Source file add to New item

Write code
#include<stdio.h>
int main()
{
printf("hello world");
return 0;
}
Generate >> Build solution 
Click on debugging >> Start execution , Or use shortcut keys Ctrl + F5 perform 
Add
Here we use .cpp file , Don't use .c As a suffix , Because C++ Compatible with most C Language grammar . Of course use .c It's OK, too , It's just that it can't be used C++ grammar 
CLion Installation package 、MinGW download
link :https://pan.baidu.com/s/1Bet3ySzBCXQ4o3j5dqy-Dg
Extraction code :7uj9
边栏推荐
- Cloudcompare & PCL point cloud point matching (based on point to face distance)
- 你离个人信息泄漏的安全距离,或许一台笔记本电脑就可以决定!
- No routines, no traps, no advertisements | are you sure you don't need this free instant messaging software?
- Kingbasees SQL language reference manual of Jincang database (8. Function (9))
- 禅道的甘特图功能是什么
- 解决servlet中post请求和get请求中文乱码现象
- Flutter 运行flutter pub get 报错“客户端没有所需特权“
- TZC 1283: 简单排序 —— 堆排序
- 【Delphi】制作控件面板安装图标的简单方法(译)
- More detailed series than your teacher -- structure
猜你喜欢

PyQt5_QListWidget分页多选控件

数据湖:Apache Iceberg介绍

Kingbasees SQL language reference manual of Jincang database (8. Function (7))

添加信任列表

网络数据泄露事件频发,个人隐私信息如何保护?

Kingbasees SQL language reference manual of Jincang database (8. Function (9))

Sonar中如何删除一个项目

Use the x2mindspire tool of mindstudio to convert training scripts

SeekTiger的Okaleido有大动作,生态通证STI会借此爆发?

8.< tag-动态规划和LCS问题>lt.300. 最长递增子序列 + lt.674. 最长连续递增序列
随机推荐
[Internet of vehicles prototype system II] database + application layer protocol design
What is instant messaging? Development of instant messaging
Undo log details
Kingbasees SQL language reference manual of Jincang database (8. Function (7))
行业洞察|如何更好地建设数据中台?IT和业务要“齐步走”
禅道的甘特图功能是什么
Kingbasees SQL language reference manual of Jincang database (4. Pseudo column)
Information security is in danger, and it is urgent to control the leakage of enterprise data assets
Redis replication cluster setup
Redis installation
Chapter 4 Executing Commands
SQLZOO——SELECT Quiz
selenium JD爬虫
信息安全危机四伏,企业数据资产泄露管控刻不容缓
PowerBI入门指南
《Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks》论文阅读
数仓:工作流的设计以及优化实践
Performance introduction
Kingbasees SQL language reference manual of Jincang database (8. Function (8))
适合拼多多小商家配件的一些思路跟技巧