Object Orientated Design in C++

Lecturer : Prof Richard Bowden

Please note that information is subject to change as the course progresses, you should check this page regularly for updated information.


Assignment

Set in week 5


Please note that I am currently migrating this course to Surrey learn.

I have left this material online for the moment to ease the transition.

However, note that this schedule was from a previous year and Surrey Learn has more uptodate material and PDFs so you should use that in preference.


Info

Where do I get C++ Compilers for my home PC ?


Week

Lecture Schedule

Lab Schedule

1

1 - Course Intro and overview of OOD

No Lab

2

2 - A Refresher Course in C
Section 2 supplementary - List Structure

Exercise 1 A gentle Introduction to compiling

3

3 - The C++ Class

Exercise 2 C Revision

4

3 - The C++ Class continued

Continue C Revision

5

4 - Inheritance

previous worked example from lectures
studentMark example from previous years

Exercise 3 A Simple String Class (Solution code)

6

4 - Inheritance continued
Section 4 supplementary - Example of Inheritance

Exercise 4 Inheritance (Part A Solution)

 

7

5 - Templates
Section 5 supplement - Worked example of templates

 

Without looking at the example in the lecture (if possible), 
add  a copy constructor, assignment operator and overloaded 
input  and output operators for the FileNameC class you 
built in  Exercise 4. You can then move onto Exercise 5.

8

Assignment Design Feedback

6 - Standard Template Library

Exercise 5 Templates (Solution code)

9

6 - Standard Template Library
Section 6 supplementary STL list documentation

Exercise 6 STL (Solution code)

10

7 - A Review of C++

Supplementary material -  Streams


Work on assignment

11

Revision Lecture