Sublime Text3 (1)—— C/C++ Compile & Run

7 篇文章 0 订阅

Sublime Text3 (1)—— C/C++ Compile & Run


Recently I install a famous editor,Sublime Text3. It can open files fast and has a cool environment,which make me be into it.
However,it also has a shortcoming that you have to do some configuration by yourself,which may need some skills and experience.
The first problem is when have done a C/C++ file,`you may find that it seems that you can’t compile and run your code because you can’t see the result.
We all know that we generally use GCC/G++ to compile C/C++ file and generate a executable file(exe file) then you can see the result soon.Now follow me!

Windows

1. Download the MinGW,which contains gcc,g++ and so on.

type the download address

2.Extract the MinGW folder under C:/.
3.Add the path C:/MinWG/bin to user’s environment varies and root PC.
4.Then open your C/C++ file and operate as followed:
Tools->Build System->Automatic
Tools->Build With->C++ Single File-Run
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值