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 four parts to this lab.
  • There are two different due dates for different parts of the assignment:
    • September 27, 2020 at 23:59:59 - Prime1.cpp and Prime2.cpp
    • October 4, 2020 at 23:59:59 - Prime3.cpp and Prime4.cpp

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 Prime1.cpp and Prime2.cpp. You can make this by running the following command:
UNIX Command
UNIX> tar -cvf lab3_1.tar Prime1.cpp Prime2.cpp
Then, submit lab3_1.tar to Canvas.

Submission 2

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