Code::Blocks uses the g++ compiler by default.
With g++ the option to force a header inclusion is -include
file, which you just put in the IDE settings (e.g. right click project, select build options, IIRC).
To find that information I just googled "forced include g++", which landed me at (http://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html), the relevant documentation.
It's often a good idea to consult the documentation, and if that fails, google.
Or as in this case, the opposite order, but anyway, that's a good idea.