DM560, Introduction to Programming in C++

Links


Schedule


Introductory classes

# Date Topic and Slides Literature
1 30.10 Programming. Building a program. Ch. 1-2, App. C [BS]
2 02.11 Types, Computations, Functions, Vectors Ch. 3-4 [BS]
3 06.11 Error Handling Ch. 5 [BS] [feedback]
4 06.11 Program Development Ch. 6 [BS]
5 13.11 Declarations and Definitions Ch. 6, 7, 8 through p. 266 [BS]
6 16.11 Functions (see slides lec. 5) Ch. 8,9 [BS]
7 20.11 Classes and I/O Streams Ch. 9,10 [BS]
8 23.11 I/O Formatting Ch. 11 [BS]
9 28.11 2D Graphics & Classes and Inheritance Ch. 12-14 [BS]
10 30.11 Graphing Functions Ch. 15,(16) [BS]
11 04.12 Memory Management: Pointers and Allocations; Vectors and Arrays Ch. 17,18 [BS]
12 11.12 Memory Allocations in std::vector; Templates Ch. 19 [BS]
13 14.12 Generic Programming: STL Containers, Iterators and Algorithms
Sequence Containers; Associative Containers
Ch. 20,21 [BS]
14 14.12 Numerics (Precision, Matrix, Random Numbers, Complex Numbers) Ch. 24 [BS]

Exercises

# Date Assignments
1 02.11 Sheet 1
2 09.11 Sheet 2
3 16.11 Sheet 3, Sheet 4
4 23.11 Sheet 5
5 29.11 Sheet 6
6 07.12 Sheet 7
7 08.12 Sheet 8
8 14.12 Sheet 9
24.12 Final Assignment
11.03 Reexam Assignment

References

[BS] Bjarne Stroustrup, Programming -- Principles and Practice Using C++ (Second Edition). Addison-Wesley 2014, ISBN 978-0-321-99278-9. The book at SDU bookstore.

Resources

Local resources:

External links:

Extensions (not in this course):


Course Evaluation