A Very Brief Introduction to Linux/Gnome/C

When you start should see something like the following:

Clicking the terminal button at the top will open a terminal, which you will need for compiling the C code and running the executable. To create a new folder on the Desktop, right-click on the Desktop background:

and call it MEC1001 for now. Click the blue-orange circle at the top next to the terminal button to start Firefox and go here (http://www.staff.ncl.ac.uk/f.j.franklin/MEC1001/C):

right-click on Week-02.c and save it to the MEC1001 folder you have just created:

In the terminal use cd to change directory (i.e., folder) to MEC1001, then compile Week-02.c and run the executable:

Further details can be found in the C code itself. To view and edit this, right-click on the file and open it with the text editor:

If you change the code, you will need to compile it again before running the new executable.