Modern C++ Software Design (Intermediate)

The image shows the ISO C++ logo consisting of the text "C++" on blue ground.

This intermediate C++ training is a course on software development with the C++ programming language. The focus of the training are the essential C++ software development principles, concepts, idioms, and best practices, which enable programmers to create professional, high-quality code. The course will give insight into the different aspects of C++ (object-oriented programming, functional programming, generic programming) and will teach guidelines to develop mature, robust, maintainable, and efficient C++ code.

Since 2020 we provide two types of C++ courses, each offered two times per year:

  • intermediate: March 7-10, 2023  (this course), and July 4-7, 2023
  • advanced: May 9-12, 2023, and Nov. 21-24, 2023

with two different levels of prerequisites.

Location

Online course
Organizer: HLRS, University of Stuttgart, Germany

Start date

Mar 07, 2023
08:45

End date

Mar 10, 2023
16:30

Language

German

Entry level

Intermediate

Course subject areas

Programming Languages for Scientific Computing

Topics

C/C++

Back to list

Prerequisites and content levels

Prerequisites and Language Hints Intermediate C++

Course participants should have basic UNIX/Linux knowledge (login with secure shell, shell commands, simple scripts, editor vi or emacs). At least one year of experience with the language is needed. This includes a good understanding of the basic mechanics (header files, source files, compilation), good knowledge of the syntax of C++, and some experience with templates and inheritance.

The course language is German. The slides are in English.

If you want a similar course in English, then please look at the 3- or 4-day advanced C++ courses at LRZ , the 4 day course at VSC in Vienna or directly on Klaus Iglberger's course page.

Content levels
  • Basic: 7:45 hours
  • Intermediate: 15 hours
  • Advanced: 2:45 hours

Learn more about course curricula and content levels.

Instructors

Klaus Iglberger (External)

Learning outcomes

After this course, participants will: 

  • have gained knowledge about fundamental C++ programming concepts and idioms
  • have a detailed understanding of template-based programming
  • be able to properly design classes and class interfaces
  • know about the importance of exception safe programming
  • avoid the usual pitfalls in the context of inheritance 
  • comprehend the advantages of value-based design 
  • understand the virtue of clean code

Agenda

All times are local times in the central European time zone (Berlin).

Drop in to Zoom (8:45 - 9:00)

1st day course schedule (9:00 - 17:00)

  • Concepts and the STL
    • Overview of the STL
    • STL Iterators
    • STL Algorithms
    • STL Containers

2nd day schedule (9:00 - 17:00)

  • C++ Templates
    • Function Templates
    • Class Templates
    • Variadic Templates
    • Template Specialization
  • Call Resolution
    • Name Lookup
    • Template Argument Deduction
    • Overload Resolution
    • Access Labels
    • Function Template Specialization
    • Virtual Dispatch
    • Deleting Functions

3rd day schedule (9:00 - 17:00)

  • Class Design (I)
    • Compiler Generated Functions
    • Copy Elision
    • Object Lifetimes
    • RAII
    • Move Semantics

4th day schedule (9:00 - 16:30)

  • Class Design (II)
    • Proper Handling of Member Data
    • Designing Classes
    • Const Correctness
  • Dynamic Polymorphism
    • Inheritance: The Good Parts
    • Inheritance: The Bad Parts
    • Value Semantics: From Pointers to Values
    • Public Inheritance
    • Surprises in Object Hierarchies

Handouts

Each participant will get a copy of all slides (PDF).

Registration information (course fully booked)

There are currently no more places available in this course. However, we encourage you to register to the waiting list since places might become available.

Register via the button at the top of this page.

Registration closes on February 28, 2023 (extended registration phase).

Late registrations after that date are still possible according to the course capacity, possibly with reduced quality of the handout.

Fees

  • Students without master’s degree or equivalent: 35 Euro
  • PhD students or employees at a German university or public research institute: 75 Euro
  • PhD students or employees at a university or public research institute in an EU, EU-associated or PRACE country other than Germany: 150 Euro
  • PhD students or employees at a university or public research institute outside of EU, EU-associated or PRACE countries: 300 Euro
  • Other participants, e.g., from industry, other public service providers, or government: 780 Euro

Link to the EU and EU-associated (Horizon Europe), and PRACE countries.

Our course fees include coffee breaks (in classroom courses only).

Contact

Tobias Haas phone 0711 685 87223, tobias.haas(at)hlrs.de

PRACE PATC and bwHPC

HLRS is part of the Gauss Centre for Supercomputing (GCS), which is one of the six PRACE Advanced Training Centres (PATCs) that started in Feb. 2012.

HLRS is also member of the Baden-Württemberg initiative bwHPC.

This course is also provided within the framework of the bwHPC training program. This course is not part of the PATC curriculum and is not sponsored by the PATC program.

Further courses

See the training overview and the Supercomputing Academy pages.

Related training

All training

November 19 - 22, 2024

Hybrid Event - Stuttgart, Germany