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

本文介绍如何在SublimeText3中配置C/C++代码的编译和运行环境。主要步骤包括下载并安装MinGW,将MinGW路径添加到系统环境变量,以及在SublimeText3中设置编译系统。
3193

被折叠的 条评论
为什么被折叠?



