VC++ 2012 is good (That is what I use). But it is an IDE and not a compiler(though it includes one). If you have VS or VC++ installed, Code::Blocks can use its compiler.
When speaking of Dev C++, make sure it is the Orwell version, which is up to date. The original project was abandoned years ago. http://orwelldevcpp.blogspot.com/
hey hi friends there is also an online compiler that you can do programming in easy way http://cbtsam.com/cppl1/cbtsam-cppl1-029.php
and also get solutions there immediately...!!