Eclipse

General

Go to http://www.eclipse.org/
Click on Downloads...
Find Eclipse IDE for C/C++ Developers...
Follow instructions...

Instructions for Installing Eclipse with CDT for Windows XP

1. Download Eclipse Classic 3.3.1.1 (http://www.eclipse.org/downloads/).
2. Open Eclipse and pull down the Help menu. Go to 'Software Updates', then 'Find and Install'.
3. In the Install/Update Wizard, choose 'Search for new features to install' and hit next.
4. Press 'New Remote Site' and Name it 'CDT' (though name does not matter), and paste
'http://download.eclipse.org/tools/cdt/releases/helios' into the url.
5. Hit Ok and install the CDT files for Eclipse.
6. Download MinGW.exe (http://downloads.sourceforge.net/mingw/MinGW-5.1.3.exe) and install it,
make sure to select g++ compiler and do not install the MinGW Make feature.
7. Download the gbd debugger (http://downloads.sourceforge.net/mingw/gdb-6.6.tar.bz2) and
unzip the files into the director where you insalled MinGW.
8. Finally, downalod MSYS-1.0.10.exe (http://downloads.sourceforge.net/mingw/MSYS-1.0.10.exe).
9. Start Eclipse and make a sample Hello World C++ file to test!

 

Windows

These files are : 1) java from http://java.sun.com/javase/downloads/index.jsp
2) eclipse IDE for C/C++ Developers from http://www.eclipse.org/downloads/
3) MinGW complier from http://sourceforge.net/project/downloading.php?groupname=mingw&filename=MinGW-3.1.0-1.exe&use_mirror=nchc

After downloading these files, you can install them by order,java->eclipse->MinGW.

Then before running eclipse, you had to set the path of the compiler. Go to My computer> Properties> Advanced >Environment Variables
Add C:\MinGw\bin into Path.

Moreove, you had to rename a file : mingw32-make which locates in C:\MinGW\Bin to make

**If you are using Windows Vista, you also need to copy two files : cc1 and cc1plus from C:\MinGW\libexec\gcc\mingw32\3.4.5 to C:\MinGW\Bin

Finally, you can run your eclipse now, however, the compiler wouldn't work with eclipse at this point.
Go to Windows > Preference > C/C++ > New CDT project wizard > Makefile Project > Binary parsers
Only enables PE Windows Parser.

After that, your eclipse should work fine with g++ compiler.

 

Specific to Mac


This document provides a detailed instruction on how to download CDT, a plug-in
that enables users to compile and run C++ code using Eclipse 3.2.

1. Go to Help => Software Updates => Find and Install.
2. Select "Search for new features to install" and click "Next >".
3. Select "Callisto Discovery Site" and click "Finish".
4. Select a site from which you would like to download updates. There are many
of them available. Then click "OK".
5. From the dropdown menu, select "C and C++ Development" and click "Next
>".
6. Select "I accept the terms in the license agreement" and click "Next >".
7. Choose a location to which you would like to download the plug-in and click on
"Finish".
8. Wait until the download is complete.
9. Install the plug-in.

The version of the compiler of CDT matches that on the CSE systems so you do not have to worry about consistency.