There is no lab in the first week.
These people have agreed to help with labs, for which I am grateful:
Edward Kent | Benjamin Haines | Wenchao Jiang |
![]() |
![]() |
![]() |
You should use the labs to practice and get feedback from the lab assistants or me. This is an important means of obtaining feedback on your progress and you should not ignore it.
The lab exercises have been designed to teach you important concepts which you will need in the exam, as well as to prepare you for the formal coursework.
I have placed a number of C and C++ samples from the lecture slides here: C samples. C++ samples.
Look for the filename specified on the lecture slide, if there is one.
Please take some time to go through these samples, they should help you to understand the lecture examples.
Please use the first lab session to work through these documents. There is a short program for you to write at the end of the lab notes document.
This is ENTIRELY optional. In previous years, students said that this kind of exercise was extremely useful in understanding pointers, strings, arrays, and memory allocation, as well as input and output. I recommend doing at least part of it and think that your investment in time will be worthwhile, but it's entirely up to you.
Please take advantage of the labs to get feedback on this.
Familiarising yourself with the coursework framework.
I expect that this may take you two lab sessions to implement and play with.
These are introductory exercises for the coursework framework:
- how to draw things and accept input using the framework
- how to move objects around
Please start by following the instructions here:
Getting Started with the Coursework 2013 v1.pdf.
Next work through these instructions:
First lab session on the coursework framework
Finished files from lab A - to check if you wish when you finish it - you will have to rename them by removing the prefix "LabAEnd_":
LabAEnd_DemoAMain.h
LabAEnd_DemoAMain.cpp
In the fourth lab session I recommend that you work through these instructions:
Second lab session on the coursework framework.
You may also want to spend some time working on the Lab 2 exercise (which will also help you in the coursework and exams), and/or to get feedback on that in the labs.
Finished files from lab B - to check if you wish when you finish it:
DemoAMain.h
DemoAMain.cpp
DemoBObject.h
DemoBObject.cpp
You may want to look ahead to the coursework details at this point, to know what to expect.
Please just use the remaining lab sessions to do the coursework and to get help as you do so.