

Since most professional C++ development is done in Linux along with its suite of GNU compilers and debugger, and Java-based IDEs, this is actually a very sensible solution. If you are already comfortable working in a Linux environment, this should not be a daunting option at all, but it undoubtedly does require more work than the other solutions here. It is a slightly more complex solution, but very satisfying and having access to Linux on your system has other advantages too. If what you need is to do some serious C++ coding on a Mac, this is one final option you should not neglect to consider. Install Linux as a Virtual Machine on your Mac One other drawback is that it some users have reported that it can be memory heavy and slow. You may need to do a bit of fiddling to get it up and running at first.

Like Eclipse, Java has to be installed along with some specific C++ compilers. The IDE will auto-complete your code (variable names / function references / library functions / classes / ids) wherever possible.

It has a lot of good features which can help you in development. However, you should be aware that you will need to set up some other things to be able to debug your code- described at StackOverflow. It has a good community of users, so a lot of good plugins have been developed. It is very similar to Xcode, and you will need XCode and Java installed to use it. It is completely free, which also makes it an attractive option. This a good open source IDE, which is also available across multiple platforms and is more industry standard.

add class members, override/implement functions, wrap a block of code with a statements
