当前位置:网站首页>MinGW offline installation package (free, fool)
MinGW offline installation package (free, fool)
2022-06-12 07:56:00 【Lanterns can only come to the classroom to experience life】
Downloading from the official website is too slow , Go to the Internet and ask for money , That's really true. .
A fool like offline installation software , Welcome to download .
Alicloud disk
https://www.aliyundrive.com/s/jsRvC8ArLhW
Baidu SkyDrive
link :https://pan.baidu.com/s/1-jQCYz_wz6YKiQtS5MDvXw
Extraction code :obvy
course
install
I'm afraid beginners can't , Write a tutorial .
1、 Double click the icon with the mouse .
2、 Select the installation path and click Extract.
3、 Waiting for the installation , There won't be anything you need to do on the way .
Environment variable Settings
1、win10 Search bar : Search for environment variables ( Of course you can open it in other ways )
win10 Open environment variable :https://jingyan.baidu.com/article/a17d52854682b5c199c8f21c.html
win7 Open environment variable :
https://jingyan.baidu.com/article/86112f137c432c2736978774.html

2、 Will be installed mingw( The path you just chose ) Folder open
Click on this 
3、 Mouse click bin Catalog ( It's the red box )
4、 Ready to paste into environment variables 
5、 New environment variable , Paste the path ( I have pasted it here before , The last line is )
6、 Click ok ( There are many. )
test
1、 Press at the same time win key (alt On the left ) and R key , Input cmd Back carriage return .
2、 Input :g++ -v
The command used to see the version number .
3、 Almost done , Write a hello world try .
1、 Create a cpp file , Write hello world
#include <bits/stdc++.h>
int main(){
std::cout<<"Hello,World!"<<std::endl;
return 0;
}

2、 Still on the command line , Input :g++ main.cpp
Be careful , This main.cpp Medium main yes c++ file name , Look at your name .
After pressing, there will be a a.exe Executable program ( and main.cpp The same directory ), Let's type in a.exe( Press tab Key can automatically complete ).
therefore :

I hope I can help you , I think I wrote quite clearly , If you don't understand, you can ask me in the comment area .
边栏推荐
- Improvement of hash function based on life game (continued 1)
- Symfony 2: multiple and dynamic database connections
- 数值计算方法 Chapter5. 解线性方程组的直接法
- Exposure compensation, white increase and black decrease theory
- The pit of FANUC machine tool networking
- The computer is connected to WiFi but can't connect to the Internet
- 连接数据库却无法修改数据
- qt. qpa. plugin: Could not load the Qt platform plugin “xcb“ in “***“
- Leetcode notes: biweekly contest 79
- LeetCode笔记:Biweekly Contest 79
猜你喜欢

Voice assistant - overall architecture and design

『Three.js』辅助坐标轴

tar之多线程解压缩

Explanation and explanation on the situation that the volume GPU util (GPU utilization) is very low and the memory ueage (memory occupation) is very high during the training of pytoch

Windows10 configuration database

Exposure compensation, white increase and black decrease theory

Chapter 2 - cyber threats and attacks

Mathematical knowledge - derivation - Basic derivation knowledge

Topic 1 Single_ Cell_ analysis(4)

谋新局、促发展,桂林绿色数字经济的头雁效应
随机推荐
Cold start problem of recommended system
Classic paper review: palette based photo retrieval
2021.11.3-7 scientific research log
Connect to the database but cannot modify the data
CONDA reports an error when creating a virtual environment, and the problem is solved
Some summaries of mathematical modeling competition in 2022
Leetcode notes: Weekly contest 275
Topic 1 Single_ Cell_ analysis(2)
Work summary of the week from November 22 to 28, 2021
謀新局、促發展,桂林綠色數字經濟的頭雁效應
LeetCode笔记:Biweekly Contest 79
经典论文回顾:Palette-based Photo Recoloring
Voice assistant - those classification models used in the assistant
解决上传SFTPorg.apache.commons.net.MalformedServerReplyException: Could not parse respon
NaiveBayes function of R language e1071 package constructs naive Bayes model, predict function uses naive Bayes model to predict and reason test data, and table function constructs confusion matrix
Seeking for a new situation and promoting development, the head goose effect of Guilin's green digital economy
Arrangement of statistical learning knowledge points -- maximum likelihood estimation (MLE) and maximum a posteriori probability (map)
The computer is connected to WiFi but can't connect to the Internet
ECMAScript6面试题
Solve mapper duplication problem in reverse engineering