The WinDDK is NOT a compiler; this list is not for beginners to C/C++ programing.
I suggest you ask your [basic C/C++] questions on a more correct site.
Something like
http://cboard.cprogramming.com/Edit: kernel mode driver and WinDDK are both Microsoft items so I suggest using an MSVC++ Microsoft Visual C++ Compiler. WinDDK means Windows Driver Development Kit.
Note: It is possible that the WinDDK come with an MSVC++ Compiler like some/all PSDK Platform Software Development Kit does.
IIRC, Visual Studio 2005/2008 is what the MSVC++ is called in Code::Blocks. Note, Code::Blocks does NOT come with an MSVC++ Compiler, but the auto-detect might find one it is is already installed.
Tim S