Programming in Automatic Control (C/C++)

General information

Lecturer Dr.-Ing. Eric Lenz
Cycle Winter semester
Prerequisites General Computer Science I (or similar course providing knowledge of Java or other programming language).
Form of examination written
Supplementary and advanced courses Praktikum EKOM

Contents

Aim of the event

Today, many programming tasks in the field of automation and control technology, for which C/C++ was used in the past, can be solved more comfortably with programming languages such as Matlab or Python. However, there are still applications where C or C++ must be used, e.g.

  • in programming for microcontrollers,
  • for time-critical programs such as image processing and/or (more complex) control routines which have to work with high sampling frequency or
  • for acceleration of functions within optimization routines.

This course teaches the basics of programming in C and C++ in order to be able to solve such tasks.

For this purpose, this course introduces the programming languages C and C++, starting from the knowledge you have acquired e.g. in the course “General Computer Science I”. The emphasis is on practical programming work. Thus, lecture (in which various topics are discussed in compact form) and exercise, in which this can then be directly applied, always alternate.

Topics

  • Introduction, compiler and linker, basic control structures
  • Data types, number representation and bit manipulation
  • Pointers, memory management, strings
  • Introduction to C++, main differences/extensions with respect to the previous topics
  • Templates, STL (Standard Template Library)
  • Classes
  • Use of third party libraries

Organizational matters

Current information about the lecture and exercise as well as all documents (scripts, exercise sheets, etc.) are distributed exclusively via the message forum Moodle!

For this purpose, please register for the event in Moodle. If this is not possible, please contact Eric Lenz for registration

Exam

Form of examination Written exam
Date tba
Time tba
Room tba