A C/C++ IDE for OS X that isn't Xcode?

I want a stable IDE for coding in C/C++ on Mac OS X Mavericks.

Currently I am using Code::Blocks but it sometimes closes reporting some strange list of errors. Also the Code::Blocks "logs(F2)" does some impairment to the editor area by leaving partial prints. I'm looking for an alternative now; can you suggest one?


Solution 1:

My opinion is that IDEs do nothing good and a lot of things poorly and that you should look to build your dev environment out of a suite of tools that focus on doing small things well. But, if you're dead set on an IDE, the standard for open source, free IDEs is Eclipse.

For C and C++ development, Eclipse has the CDT framework which gives you all of its heavyweight IDE-type things for your C and C++ code: introspection, code completion, refactoring tools, syntax highlighting, debugger integration and so on.

It's been around a long time now and is both stable and robust.

The CDT Project provides a fully functional C and C++ Integrated Development Environment based on the Eclipse platform. Features include: support for project creation and managed build for various toolchains, standard make build, source navigation, various source knowledge tools, such as type hierarchy, call graph, include browser, macro definition browser, code editor with syntax highlighting, folding and hyperlink navigation, source code refactoring and code generation, visual debugging tools, including memory, registers, and disassembly viewers.

enter image description here

Solution 2:

The CLion cross-platform IDE by JetBrains for C and C++ was recently announced. It is only available as an “early access program” build right now, but when it’s stable, I’m sure it will be good. (Warning: it will cost money.) You might choose CLion over Eclipse for the same reasons you might choose JetBrains’ IntelliJ IDEA over Eclipse when programming Java.

Solution 3:

Pretty surprised no one said NetBeans. It has a C/C++ version like Eclipse. From what I've done with it, it works fine. Also it is pretty lightweight.