我试了coderunner
,但是不是很好用,功能也很少;
然后也试了功能强大的xcode
,但是它每新建一个工程,只能运行一个c程序,这样很麻烦。
最近一直在用gcc/g++命令行
编译运行,但是感觉也不方便。
请问有没有像windows下面,像VC/dev c++
直接运行某个c文件的方式呢?
PS,我知道命令行的方式可能是大家推荐的,但是我目前主要不是写c程序,所以我希望过程越简单越好。
阿神2017-04-17 13:11:42
Is there a way to directly run a c file like VC/dev c++ under windows?
I have been looking for a tool like this for a long time, a lightweight IDE for beginners like Dev-C++.
Later I finally found a Chinese open source tool similar to this.
http://kreogist.github.io/Cuties/cn/index.html
Cross-platform, so of course it is supported on Mac. It just meets your requirements.
大家讲道理2017-04-17 13:11:42
Hahaha, I recommend Clion, from the Idea family. A power tool for a power language
巴扎黑2017-04-17 13:11:42
Recommended cross-platform Geany based on GTK+ library, an editor that calls itself IDE, supports custom generation commands, F8 compilation, F5 running:
http://download.geany.org/geany-1.26_osx. dmg
Geany can automatically generate project tags and perform intelligent prompts and symbol jumps. The function variable list is also fully available. It can indeed be considered a good lightweight IDE. It is very good and powerful. This is true.
If you need IDE-level functions, you can try Qt Creator:
PHPz2017-04-17 13:11:42
In fact, as long as the editor integrates the compiler command, such as sublimet text, no configuration is required under mac. Just create a new .c file and then command+B:
sublime text does not support input from the terminal. If you need to input, use Chocolate
or a lightweight IDE that supports direct single-file compilation of codeblocks
高洛峰2017-04-17 13:11:42
I also recommend using Clion, remember Never lower yourself and use pirated versions .
巴扎黑2017-04-17 13:11:42
sublime text is fine. There is a plug-in called terminalality that supports input from the terminal
Why do all those who recommend sublime have negative scores? . . I use sublime to write c and java small programs. One-click compilation and running and terminal output are no problem
迷茫2017-04-17 13:11:42
Write a shell script to simply wrap the gcc/g++ command
Vim or sublime install a one-click compilation plug-in
eclipse/clion