Introduction to C++ Programming (Introductory Level) -- 23. Sep. and 2. Okt.
KR1
Overview
This 2-day course equips participants with the essential skills to design and program basic C++ programs. It is intended for unexperienced programmers. The course provides hands-on examples for every step.
Agenda
-
Learning to use an IDE: Integrated Development Environments (IDEs) are programs to ease programming.
-
Introduction to basic Data Types: C++ is a language, which can use low-level data types. Those are fundamental to understand and use abstracted data types.
-
The CMAKE Build Tool: We learn how to compile programs with direct compiler calls - and using the dedicated build tool, CMAKE. This will facilitate building complex programs (or libraries) at later stages.
-
Loops & Conditionals: Participants will learn how to carry out repetitive tasks (with so-called "loops") and how to execute code conditionally.
-
Abstracted Data Types (Containers): Participants will learn their first steps with abstracted data types. Those simplify programming scientific code considerably.
- Functions: Functions are a way to re-use code. They are the first to well-structured programs and better code maintainability.
The course material (slides) will be made available to the class participants.
Learning Outcomes
By the end of this tutorial, participants will:
- understand the basic C++ program structure
- be equipped to compile and execute simple programs
- know basic and high-level data types (from the Standard Template Library)
- be able to execute code repeatedly using loops
- and improve their code structure by using functions
Prerequisites
-
Ability in navigating the shell (bash) for basic file manipulation and command execution.
-
Ability to log in to remote servers via SSH (Secure Shell) for remote access