macos - Mac上用什么编辑器运行简单的c/c++程序呢?
阿神
阿神 2017-04-17 13:09:42
0
9
777

我试了coderunner,但是不是很好用,功能也很少;
然后也试了功能强大的xcode,但是它每新建一个工程,只能运行一个c程序,这样很麻烦。
最近一直在用gcc/g++命令行编译运行,但是感觉也不方便。
请问有没有像windows下面,像VC/dev c++直接运行某个c文件的方式呢?

PS,我知道命令行的方式可能是大家推荐的,但是我目前主要不是写c程序,所以我希望过程越简单越好。

阿神
阿神

闭关修行中......

reply all(9)
阿神

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.

大家讲道理

Hahaha, I recommend Clion, from the Idea family. A power tool for a power language

巴扎黑

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:

Peter_Zhu

Wall CrackRecommendedCLion

PHPzhong

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:

update

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

小葫芦

I also recommend using Clion, remember Never lower yourself and use pirated versions .

巴扎黑

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

迷茫
  1. Write a shell script to simply wrap the gcc/g++ command

  2. Vim or sublime install a one-click compilation plug-in

  3. eclipse/clion

PHPzhong

sublime text

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!