Code for CodeBlocks

These codes are tested under CodeBlocks 10.05 GNU GCC Compiler.