Navigate to list of lectures   Alphabetic index   Course home   

Exercises
Notes about C++

From C to C++Exercise 1.1C Time functions from time.h
 Exercise 1.2Functions with struct input and struct output
 Exercise 1.3Specialization of persons with a union type
 Exercise 1.4An array of functions
 Exercise 1.5Dynamic allocation of persons and addresses
Basic facilitiesExercise 2.1String functions
 Exercise 2.2Another example/exercise with C++ references
 Exercise 2.3Pointers in combination with references
 Exercise 2.4Ways of returning results from the div function
 Exercise 2.5Understand Vectors
 Exercise 2.6Use of class Point in C++
Abstraction Mechanisms, Part 1Exercise 3.1Methods in class Point and class Rectangle
 Exercise 3.2Use of constructors with object on the free store
 Exercise 3.3Point destruction - now with a problematic point copy constructor
 Exercise 3.4Conversion via constructors
 Exercise 3.5Discuss encapsulation, visibility and access
Abstraction Mechanisms, Part 2Exercise 4.1Slicing an object during parameter passing.
 Exercise 4.2Hiding inherited names
 Exercise 4.3Friends and 'enemies' of a class with private and public bases
 Exercise 4.4No single most general class in C++
Templates and The Standard LibraryExercise 5.1A template class with friends

Possible solutions can be found on the lecture specific exercise page (first column)

Generated: Tuesday March 26, 2013, 13:03:56