How to download and install the Code Blocks Tool:
Now download mingw builder and install
Now download SDL (Simple DirectMedia Layer) Development Libraries for code blocks
and similarly, download development libraries for image, mixer, net and ttf as shown below
Similarly for net, mixer and ttf download development libraries
Now Open the location C:\ and Create a folder named SDL and extract all the above downloaded standard libraries to C:\SDL as,
Now Open Code Blocks and make Compiler settings as
And Click on Ok.