CodeLite is an open-source, cross platform IDE for the C/C programming languages (build and tested on Windows XP SP3, Windows Vista, Ubuntu 9.10, and Mac OSX 10.5.6).
First, install CodeLite and wxWidgets and run Codelite. The first time you do this, various dialogs will appear.