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.
See course description in Danish
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.
Faculty
Remarks
The course is also offered as an Open University course. More information on http://www.dtu.dk/english/Education/Continuing-education/Open_University