CE221 C++ PROGRAMMING

Files for lab testing of assignment 1

Timetest.cpp
w.txt

Place the .cpp file in your ex1 folder and compile it together with your files. The .txt file should be placed in your ex2 folder, along with hamlet.txt; if you haven't got a copy of hamlet.txt it's available here.

TIMETABLE (Autumn term 2017)

Lectures

Monday 1300-1350 (LTB7) and Tuesday 1100-1150 (LTB8)

Labs

Wednesday 0900-1050 and Thursday 1600-1750 (weeks 3-11)

LECTURE SLIDES (pdf files)

Part 1 - introduction
Part 2 - references and pointers, arrays and strings
Part 3 - control structures, operators, classes and objects
Part 4 - operator overloading, friend functions, the "big three", an Array class
Part 5 - the string class, files and streams, C++ vs Java
Part 6 - templates and containers, the vector class, iterators, STL algorithms
Part 7 - the list and dequeue classes, container adapters, associative containers
Part 8 - inheritance, virtual functions and abstract classes
Part 9 - type conversions, exceptions

LAB EXERCISES

lab 1 (week 3)
lab 2 (week 4)
lab 3 (week 5)
lab 4 (week 6)
lab 5 (week 8)
lab 6 (week 9)
lab 7 (week 10)
You should use the week 11 lab to work on assignment 2

SOME SOLUTIONS (zip files)

lab 1
lab 2
lab 3
lab 4
lab 5

ASSIGNMENTS

Assignment 1 (deadline November 20)
Resources for assignment 1: assign1.zip

Assignment 2 (deadline January 17)
(Now contains both exercises)
Resources for assignment 2: assign2.zip

RESOURCES

Notes on TextPad and Compiling (and how to set it up on your own machine)

Standard library quick reference

C++ integrated development environments
You must not use Visual C++/ Visual Studio for this module - it is not compatible with standard C++

STAFF

LECTURER

Dr Mike Sanderson
Room 5B.539
email sands@essex.ac.uk

LINKS

Eckel's Thinking in C++ (free download)

Last updated: 12 December 2017