I've never had any issues with Dev-C++ being ANSI-compatible. Perhaps that is the default setting, but Dev-C++ comes with GCC (3.4.2), and so you can comfigure it just like other versions of GCC.
There was a flag for strict ANSI compatibility in older versions of Dev-C++, but I'm pretty sure that it was disabled by default. (I enabled it once, and all of a sudden any C programs with // single-line comments wouldn't compile . . . .)
Not that there's anything wrong with Code::Blocks. I like both Dev-C++ and Code::Blocks. I'd prefer to use Code::Blocks myself, but Dev-C++ is a lot smaller and probably adequate for most beginning programmers.
