You could just re-instal Dev-C++, I know from experience that it's good (and I'm a software engineer). Code::Blocks is essentially the same thing though - They both use the GNU GCC compiler. The difference is in the IDE... and in all seriousness, for a beginner there's not a lot of difference there either. Just open dev-cpp click new, type a program in, click compile and run it.
Code blocks is actively developed, however, whilst Dev-Cpp has laid dormant for a few years now.