当前位置:网站首页>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 .
边栏推荐
- Multithread decompression of tar
- LeetCode笔记:Weekly Contest 296
- Logistic regression
- Leetcode notes: biweekly contest 70
- Numpy generates row vectors and column vectors (1024 water medal text)
- Alibaba cloud deploys VMware and reports an error
- 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
- Compiling principle on computer -- functional drawing language (V): compiler and interpreter
- Solve mapper duplication problem in reverse engineering
- tar之多线程解压缩
猜你喜欢

In depth learning - overview of image classification related models

Topic 1 Single_ Cell_ analysis(3)

Summary of semantic segmentation learning (I) -- basic concepts

Voice assistant -- Architecture and design of Instruction Assistant

Voice assistant - overall architecture and design

Summary of semantic segmentation learning (II) -- UNET network

Fundamentals of Mathematics - Taylor Theorem

2、 Eight, ten and hexadecimal conversion

Getting started with Jetson nano Series IV: common skills of NVIDIA Jetson nano

Chapter 4 - key management and distribution
随机推荐
Leetcode notes: biweekly contest 71
LeetCode笔记:Weekly Contest 295
Voice assistant - Measurement Indicators
. net mysql Too many connections
移动端、安卓、IOS兼容性面试题
Leetcode notes: biweekly contest 69
Voice assistant - Introduction and interaction process
20220524 深度学习技术点
20220524 backbone深度学习网络骨架
Voice assistant - those classification models used in the assistant
WEB页面性能优化面试题
20220525 RCNN--->Faster RCNN
20220526 损失函数
Some summaries of mathematical modeling competition in 2022
[RedisTemplate方法详解]
Generalized semantic recognition based on semantic similarity
2、 Eight, ten and hexadecimal conversion
Process terminated
In depth learning, the parameter quantity (param) in the network is calculated. The appendix contains links to floating point computations (flops).
Alibaba cloud deploys VMware and reports an error