The default (even the latest) CodeBlocks installer will install GCC 4.8.1 toolchain (as of Feb 15 2016).
Hence, the following steps don't require you to upgrade/re-install CodeBlocks.
To compile your bot, you need GCC compiler version > 4.8.X. CodeBlocks doesn't tie you down with a particular compiler and you can install and use a different compiler that works for you.
You can ignore the installation of
TDM GCCif you already have a working installation ofGCC > 4.8.X.
##Installing TDM-GCC