Dev-C++ is a decent free IDE I believe.
Not to sound patronizing but in case you do not know, IDE stands for Integrated development environment. In IDEs you can do all the writing, compiling, and typically debugging(varying on the quality of the IDE.)
Here is a link for some various IDEs
http

/www.webresourcesdepot.com/16-stable-free-ides-for-designers-developers/
Visual Studio is amazing IDE. Code::Blocks and geany are alright I've used both of them(Haven't used them for C++ though). I cannot stand netbeans, absolutely HATE it. Just find an IDE you are comfortable with, most of them you can add extensions/compatibility for languages it doesn't support initially.