Select a category to the left.



Light or dark? Choose how the site looks to you by clicking an image below.

Light Dark


Preferred Language

All content on is originally in UK English. However, if content exists in your preferred language, it will display as that instead. Feel free to choose that below. This will require a page refresh to take effect.


"" details

Domain Name:
Site Version: 3.0.1
Last Updated: 2019/08/18
Getting Started


  • Read the lab writeup on Instructure Canvas.
  • There are two parts to this lab.
  • There are two different due dates for different parts of the assignment:
    • September 12, 2020 at 23:59:59 - Prog2a.cpp
    • September 19, 2020 at 23:59:59 - Prog2b.cpp


  • You should get familiar with the terminal before doing this lab. I have written a guide that can give you quite a head start on it. View it here. You'll be using it for the entire semester. Good luck!

Side Files

Usually, for lab "lectures", I prepare a digital copy of my notes to write on the whiteboard. I have made these public:
We will be following these guidelines.

Submission 1

Submit a TAR file containing Prog2a.cpp. You can make this by running the following command:
UNIX Command
UNIX> tar -cvf lab2_1.tar Prog2a.cpp
Then, submit lab2_1.tar to Canvas.

Submission 2

Like the first submission, this is also a TAR file. This time, you are submitting Prog2b.cpp. Run this command:
UNIX Command
UNIX> tar -cvf lab2_2.tar Prog2b.cpp
Then, submit lab2_2.tar to Canvas.