I would recommend [url=http://www.bloodshed.net/devcpp.html]Bloodshed Dev-C++[/url] for C++ programming.
If you want to compile C code, I would suggest using a C compiler such as GCC. I'm un-aware of any free available IDE envrionments for the C language. Though you may be able to compile C code in Dev-C++. I've never tried, though.
- [color=#CC3200]S[/color]tack [color=#CC3200]O[/color]verflow