View Full Version : Eclipse for C++ Development?

Nov 7, 2007, 04:40 PM
Hey guys, for a C++ class I'm taking we work on C++ projects where there are usually 5+ files involved, and I've used Eclipse a lot with Java to help keep projects organized. One thing I really liked when using Eclipse w/ Java was it automatically "compiled" your code and determined where there were errors. (Any of you who have used it know what I mean.)

I downloaded the C++ Dev tools for Eclipse, and I have the C++ perspective and can create C++ projects, but it doesn't do this automatic "error checking" that the Java version does. Is there a preference I need to turn on, or is this feature not yet available for C++ development? Thanks! :D

Edit: Here's a picture of what I'm trying to get to work:


Nov 7, 2007, 05:34 PM
When I started with C++, I started off with Eclipse. I found it very buggy, and it was very hard to get anything to run. Your better off using Xcode.

Nov 9, 2007, 09:09 PM
Ah, I finally figured it out. :)

If you right-click on a project, then click on Properties, in the dialog box you choose "C/C++ Build" and click on the Behavior tab. In there, there's a "Build on resource save (Auto build)". Checking this will automatically rebuild your code when you save, showing any new errors.

Hope this helps anybody with a similar problem!