Dev-C++ is outdated, assuming the BloodShed version, and it is highly recommended that you switch to a more modern IDE. I haven't even seen a computer with Windows 8 yet, let alone attempt to install an IDE, but I'll give you my typical suggestions for IDEs.
Now, both offer a compiler with them, obviously Microsoft offers it's compiler, while Code::Blocks offers the MinGW version of g++. Since you're asking about a compiler, you need to make sure you download the mingw-setup version of Code::Blocks.
There is other options out there, but those are the two most used IDEs and compilers.