Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gtx8800

macrumors newbie
Original poster
Mar 17, 2009
1
0
heeiii...i am looking for c++ editor for mac..???

what's do you recommend...???
 

lee1210

macrumors 68040
Jan 10, 2005
3,182
3
Dallas, TX
I personally recommend the terminal + vi.

Others seem to like XCode (installed from your OS X DVD or downloaded or register and download from http://developer.apple.com/mac/), which is an IDE that supports C++ development.

Others like editors like TextMate.

It depends on what you like/need. Are you going to compile at the terminal with gcc? Do you need an IDE?

The Eclipse IDE/"platform" is also available for OS X, and supports C++ development.

-Lee
 

ChrisA

macrumors G5
Jan 5, 2006
12,922
2,180
Redondo Beach, California
Komodo edit is a nice program if you like a nice interface. I've use it quite a while with perl, and...

I checked it out and did not notice support for C++.

I use "nedit" about 9 hours a day. I like it because I need an editor that runs exactly the same on multiple platforms like Solaris, Linux and others. But if you are on the Mac exclusively then maybe you need to bother with an X11 program. But if you need multi-platform then X11 is the way to go. Nedit does syntax highlighting and multi-tab or split window editing
http://www.nedit.org

I've been using netbeans IDE for a Java project. It's not bad and I know it can also handle C and C++
http://www.netbeans.org/features/cpp/

You should spend an evening or so to learn vi. Only because it is universal and likey to be already installed on any non-Microsoft OS you will ever see.
 

lee1210

macrumors 68040
Jan 10, 2005
3,182
3
Dallas, TX
]
You should spend an evening or so to learn vi. Only because it is universal and likey to be already installed on any non-Microsoft OS you will ever see.

And hopefully any Microsoft OS used by a programmer... =)
(sorry Visual Studio folk)

-Lee
 

lancewyoming

macrumors newbie
Mar 17, 2009
14
0
Perhaps I should be more thoughtful and give a reason for my answer. As with vi, emacs will be likely be installed on any non-windows system you encounter. I would hope a developer would also have it on windows. Works from the terminal. Works from X11. Carbon and Cocoa versions available. Syntax highlighting. Automatic code formatting. Split buffer editing. Support for shell processes within editor. Great hooks for debuggers, compilers, version control systems, etc. Great support for virtually every language ever created. You could read your email or news or whatever from it. Extremely, no, ridiculously customizable.

A side benefit is once you have gotten used to the somewhat odd keystroke controls for emacs, you will be pleasantly surprised when you discover many of them work in all mac applications.
 

Bakerman

macrumors member
Jan 31, 2005
62
7
Sweden
A side benefit is once you have gotten used to the somewhat odd keystroke controls for emacs, you will be pleasantly surprised when you discover many of them work in all mac applications.

I second that. Knowing the Emacs key bindings is extremely useful, given that on just about any system you will find an editor supporting those bindings. Not to mention any text control in Mac OS X (although the supported key bindings are a small subset of the Emacs key bindings).

As for editors, I would recommend SubEthaEdit. Emacs key bindings, syntax coloring for lots of languages, and a nice collaborative editing feature in case you need that.

And there is always XCode of course.
 

lazydog

macrumors 6502a
Sep 3, 2005
709
6
Cramlington, UK
Thumbs up for Xcode! I also find it useful for non Xcode projects too. I create a dummy empty, project and drag the root folder of the project into Xcode and select the recursive add as reference option. That way I can navigate all the files in the project really easily.

The one thing I don't like about Xcode is the way it highlights compilation errors with the red marker things. After a particular bad session with a lot of typos and mistakes, the editor windows look like it's covered in blood.

b e n
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.