Guide to downloading CodeBlocks
-
Choose "Downloads", then go to the left side and choose "Download the binary release"
-
Download "codeblocks-20.03mingw-setup.exe" (NB: Remember "mingw"!) from sourceforge.net
-
Click and run the file you just downloaded, the default options here are fine. So just press "Next" until you finish.
-
Start CodeBlocks
Important configuration
Since the program we made uses C++ and not C, there are some changes you have to do.
-
Open CodeBlocks, then choose "Settings" in the toolbar.
-
Then choose "Compiler..."
-
Proceed to remove ALL the checked boxes, and make sure only "Have g++ follow the C++ 14 ISO C++ language standard [-std=c++14] is checked ON (this makes it so you can run .cpp files and not only .c)
-
Finish off by clicking "OK".
You are now able to run our program in CodeBlocks