Single-Course English 5 ECTS

Programming in C++

Overall Course Objectives

The course is targeted at students who have some programming experience in at least one programming language (e.g. Python or Matlab) and wish to learn the basics of programming in C++. To this end, the course introduces key programming concepts using the C++ programming language and standard library: fundamental notions of data structures and algorithms, structured and object-oriented programming, generics, and templates.

Learning Objectives

  • select and use data types
  • define and construct data structures and functions, including recursive, dynamic data structures and recursive functions
  • use principles of structured program design and methods
  • describe and use containers and iterators
  • construct and demonstrate generic functions and classes (templates)
  • use and define classes with encapsulation and constructors
  • use pointers and arrays with memory management
  • develop projects organized in multiple header and source files
  • explain and apply the principles of abstract data types
  • analyze and compare the complexity of different data structures and algorithms
  • explain the C++ runtime system

Course Content

The course teaches C++ for the working programmer. The focus is on how to make use of the C++ constructs and libraries for the most common kinds of problems in an efficient way and to write programs in an elegant and abstract way. This includes the effective use of C++ constructs and concepts as well as how to apply good engineering principles in C++.

Recommended prerequisites

Students are expected to have some programming experience with at least one programming language.

Teaching Method

Normally, there are lectures/live-coding sessions in the first two hours, followed by exercises.


The course is also offered as an Open University course. More information on

See course in the course database.





13 weeks




DTU Lyngby Campus

Course code 02393
Course type Candidate
Semester start Week 35
Semester end Week 48
Days Tues 18-22

7.500,00 DKK