I'd like to know what CodeBlocks version can I use with what Boost version.
The lates codeblocks version (best nightly build) is always good.
The compiler you want to use (keep in mind, codeblocks is not a compiler) depends on the boos version you want to use... Latest compiler, probably also latest boost version
Then what's the procedure to insert Boost in CodeBlocks ?
Boost is a huge collection of libraries, some are header only, sone need to be linked agains... it depends what part of boos you want to use...
Generally:
Project->Build options->Compiler-> include search path-> path to boost include folder
Project->Build options->Linker -> Library search path-> path to boos lib folder
Project->Build options->Linker->Libraries -> add the boost libraries you need