You can also get Microsoft Visual C++ 2005 Express Edition. It is free. The only issue is that it is a Microsoft compiler so may not adhere to standards in the way you would want it to.
DevC++ is excellent. Avoid any new MS compilers because they have taken C++ and modified it into their own code managed C++. Also check out ultimate++ for guis