
RoboSimo Assignment – Due 5pm Friday 26th October 2018.Image generator code for the Shape Sorter assignment.Assignment 2: Shape Sorter – Due 5pm Friday 7th December 2018.Some example output images for the Shapesorter assignment.

Function plotter example, including roots calculation.RoboSimo Assignment – Due 5pm Friday 25th October 2019.PGM Examples – solution code (don’t look until you’ve attempted them yourself).


If the path is set correctly, then you should see the error shown below (you get an error because you didn’t supply the name of a C file to be compiled). In the command window, type “gcc” and press enter. On my machine, the full location is C:\Program Files\CodeBlocks\MinGW\binīut it may be different on your machine if you installed Code::Blocks in a different location.Ĭlose all dialog boxes by clicking “OK” and then open a new command window, by typing “cmd” in the Windows search bar and then clicking “Command Prompt” as shown below. In the “System variables” panel (the lower half of the Environment Variables dialog box), click on “Path” to select it and then click the “Edit…” button.Ĭlick “New” to add a new item to the list and then click “Browse…” to set the new item to the “MinGW/bin” folder within your Code::Blocks installation. Type “path” in the Windows search bar as shown below and then click on “Edit the system environment variables”.Ĭlick on the “Environment Variables…” button. However, if you accidentally omit that option when installing Code::Blocks, you can update the PATH manually as follows: The installation process includes an option to update the PATH environment variable, so that gcc (or g++) can be run in a command window without needing to include the full path to the MinGW installation folder. It can be downloaded from the following page The installer I recommend for the current version of Code::Blocks is: Some versions of the Code::Blocks installer include MinGW and others don’t, so be careful to choose the right one.

An easy way to install MinGW (and hence gcc / g++) on Windows is to install the Code::Blocks integrated development environement (IDE).
