Programming Linux
Quick search
Navigation
Courses
Courses Overview
Slide Material
Python Programming
The C Programming Language
C++: TODO List
C++: Miscellaneous Live-Hacking
C++
Introduction
Data Encapsulation
Functions and Methods
Exceptions
C++ Template Basics
Standard Template Library
Dynamic Memory Allocation, Resource Management
Inheritance And Object Oriented Design
The Standard Library: Miscellaneous Topics
Exercises: User Database
Exercises: Miscellaneous
The New C++ (11-…)
Design Patterns With C++
C++ Code
C++ Exercises
CMake
Linux
Is Software A Craft? Software Is A Craft! ⟶
Clean Code
Unit Testing With
googletest
Linux Kernel Driver Development
Generated Topic Graph
How To Book
Log Of Past Courses
About
Myself: Contact, Impressum, …
This Site
Blog
Posts
C++
¶
Topics
Exercises
Topics
¶
Introduction
Data Encapsulation
Functions and Methods
Exceptions
C++ Template Basics
Standard Template Library
Dynamic Memory Allocation, Resource Management
Inheritance And Object Oriented Design
The Standard Library: Miscellaneous Topics
Exercises
¶
Exercises: User Database
Exercises: Miscellaneous
cluster_cxx03
C++
cluster_cxx03_exercises_misc
Exercises: Miscellaneous
cluster_cxx03_exercises_userdb
Exercises: User Database
cluster_cxx03_functions_and_methods
Functions and Methods
cluster_cxx03_data_encapsulation
Data Encapsulation
cluster_cxx03_stl
Standard Template Library
cluster_cxx03_stl_associative_containers
Associative Containers
cluster_cxx03_stl_algorithm
Algorithms
cluster_cxx03_stl_exercises
STL: Exercises
cluster_cxx03_stl_exercises_reverse_string
Exercise: Reverse A String
cluster_cxx03_stl_sequential_containers
Sequential Containers
cluster_cxx03_stl_allocator
Allocators
cluster_cxx03_exceptions
Exceptions
cluster_cxx03_templates
C++ Template Basics
cluster_cxx03_inheritance_oo
Inheritance And Object Oriented Design
cluster_cxx03_standard_library_miscellanea
The Standard Library: Miscellaneous Topics
cluster_cxx03_dynamic_memory
Dynamic Memory Allocation, Resource Management
cluster_c
The C Programming Language
cluster_c_introduction
Introduction
cxx03_introduction
Introduction
c_introduction_installation
Installation
cxx03_introduction->c_introduction_installation
cxx03_exercises_misc_passwd_parser
Exercise: Parse A Line From /etc/passwd
cxx03_exceptions_try_catch
try - catch
cxx03_exercises_misc_passwd_parser->cxx03_exceptions_try_catch
cxx03_standard_library_miscellanea_string
std::string
cxx03_exercises_misc_passwd_parser->cxx03_standard_library_miscellanea_string
cxx03_exercises_misc_sum_integers_from_stdin
Exercise: Sum of Integers Coming From cin
cxx03_exercises_misc_american_flag
Exercise: Paint the American Flag Onto Standard Output
cxx03_exercises_misc_fh_moodle_quiz
FH/Moodle Quiz: C++
cxx03_functions_and_methods_overloading
Overloading
cxx03_exercises_misc_fh_moodle_quiz->cxx03_functions_and_methods_overloading
cxx03_exercises_userdb_user_simple_method
Exercise: Simple Method (Users Age By n Years)
cxx03_exercises_userdb_user_const_members
Exercise: const Members
cxx03_exercises_userdb_user_simple_method->cxx03_exercises_userdb_user_const_members
cxx03_functions_and_methods_methods
Methods
cxx03_exercises_userdb_user_simple_method->cxx03_functions_and_methods_methods
cxx03_exercises_userdb_userdb_search_notfound_exception
Exercise: Search, “User Not Found” Exception
cxx03_exercises_userdb_userdb_search_find_if
Exercise: Search a User By Lastname (std::find_if)
cxx03_exercises_userdb_userdb_search_notfound_exception->cxx03_exercises_userdb_userdb_search_find_if
cxx03_exercises_userdb_userdb_search_notfound_exception->cxx03_exceptions_try_catch
cxx03_exercises_userdb_user_access_methods
Exercise: Access Methods for Members
cxx03_exercises_userdb_user_access_methods->cxx03_exercises_userdb_user_simple_method
cxx03_exercises_userdb_user_access_methods->cxx03_functions_and_methods_methods
cxx03_exercises_userdb_userdb_search
Exercise: Search a User By Lastname
cxx03_exercises_userdb_userdb_search_find_if->cxx03_exercises_userdb_userdb_search
cxx03_exercises_userdb_user_ctor
Exercise: Transform struct User Into A Class
cxx03_data_encapsulation_ctor_custom
Custom Constructor
cxx03_exercises_userdb_user_ctor->cxx03_data_encapsulation_ctor_custom
cxx03_exercises_userdb_user_ctor->cxx03_standard_library_miscellanea_string
cxx03_exercises_userdb_userdb_insert
Exercise: Insert a User into UserDB
cxx03_exercises_userdb_userdb_search->cxx03_exercises_userdb_userdb_insert
cxx03_exercises_userdb_user_const_members->cxx03_exercises_userdb_user_ctor
cxx03_data_encapsulation_ctor_dtor
More Constructors, Destructors
cxx03_exercises_userdb_user_const_members->cxx03_data_encapsulation_ctor_dtor
cxx03_exercises_userdb_user_default_ctor
Exercise: Default Constructor (was: Arrays of Objects)
cxx03_exercises_userdb_user_const
Exercise: Use const
cxx03_exercises_userdb_user_default_ctor->cxx03_exercises_userdb_user_const
cxx03_exercises_userdb_user_default_ctor->cxx03_data_encapsulation_ctor_dtor
cxx03_exercises_userdb_userdb_vector_basic
Exercise: Use std::vector in UserDB
cxx03_exercises_userdb_userdb_vector_basic->cxx03_exercises_userdb_user_default_ctor
cxx03_stl_basics
Standard Template Library: Basics
cxx03_exercises_userdb_userdb_vector_basic->cxx03_stl_basics
cxx03_exercises_userdb_user_const->cxx03_exercises_userdb_user_access_methods
cxx03_functions_and_methods_references
References
cxx03_exercises_userdb_user_const->cxx03_functions_and_methods_references
cxx03_exercises_userdb_userdb_insert->cxx03_exercises_userdb_userdb_vector_basic
cxx03_exercises_userdb_userdb_insert->cxx03_stl_basics
cxx03_functions_and_methods_exercise_class_cuboid
Exercise (FH): class cuboid
cxx03_functions_and_methods_exercise_class_point3d
Exercise (FH): class point3d
cxx03_functions_and_methods_exercise_class_cuboid->cxx03_functions_and_methods_exercise_class_point3d
cxx03_functions_and_methods_operators
Operator Overloading
cxx03_functions_and_methods_static
static Methods
cxx03_functions_and_methods_operators->cxx03_functions_and_methods_static
cxx03_functions_and_methods_static_member_variables
static Member Variables
cxx03_functions_and_methods_static_member_variables->cxx03_functions_and_methods_static
cxx03_functions_and_methods_this
this
cxx03_functions_and_methods_this->cxx03_functions_and_methods_methods
cxx03_functions_and_methods_exercise_class_point
Exercise (FH): class point
cxx03_data_encapsulation_classes_objects
Classes and Objects
cxx03_functions_and_methods_overloading->cxx03_data_encapsulation_classes_objects
cxx03_functions_and_methods_static->cxx03_functions_and_methods_references
cxx03_functions_and_methods_methods->cxx03_functions_and_methods_overloading
cxx03_functions_and_methods_exercise_class_point3d->cxx03_functions_and_methods_exercise_class_point
cxx03_functions_and_methods_references->cxx03_functions_and_methods_this
cxx03_functions_and_methods_exercise_class_rectangle
Exercise (FH): class rectangle
cxx03_functions_and_methods_exercise_class_rectangle->cxx03_functions_and_methods_exercise_class_point
cxx03_data_encapsulation_initializer_list
Constructors: Member Initialization
cxx03_data_encapsulation_initializer_list->cxx03_data_encapsulation_ctor_custom
cxx03_data_encapsulation_ctor_default
Default Constructor
cxx03_data_encapsulation_ctor_default->cxx03_data_encapsulation_ctor_custom
cxx03_data_encapsulation_c
Object Oriented Programming In Good Ol’ C
cxx03_data_encapsulation_c->cxx03_introduction
cxx03_data_encapsulation_ctor_dtor->cxx03_data_encapsulation_ctor_default
cxx03_data_encapsulation_ctor_dtor->cxx03_data_encapsulation_ctor_custom
cxx03_data_encapsulation_ctor_custom->cxx03_data_encapsulation_classes_objects
cxx03_data_encapsulation_classes_objects->cxx03_introduction
cxx03_data_encapsulation_classes_objects->cxx03_data_encapsulation_c
cxx03_data_encapsulation_object_copy
Object Copy (And Resource Management): There Be Dragons
cxx03_data_encapsulation_object_copy->cxx03_data_encapsulation_ctor_dtor
cxx03_data_encapsulation_copy_basics
Copy Constructor, Assignment Operator
cxx03_data_encapsulation_copy_basics->cxx03_data_encapsulation_ctor_default
cxx03_data_encapsulation_copy_basics->cxx03_data_encapsulation_ctor_custom
cxx03_templates_class_templates
Class Templates
cxx03_stl_basics->cxx03_templates_class_templates
cxx03_stl_vector_copy_etc
std::vector (And std::copy())
cxx03_stl_vector_copy_etc->cxx03_stl_basics
cxx03_stl_associative_containers_map
std::map
cxx03_stl_associative_containers_basics
Associative Containers
cxx03_stl_associative_containers_map->cxx03_stl_associative_containers_basics
cxx03_stl_associative_containers_basics->cxx03_stl_basics
cxx03_stl_associative_containers_multimap
multimap<>
cxx03_stl_associative_containers_multimap->cxx03_stl_associative_containers_basics
cxx03_stl_algorithm_reverse_copy
reverse_copy<>: Copying and Reversing
cxx03_stl_algorithm_reverse_copy->cxx03_stl_basics
cxx03_stl_algorithm_find
find<>: Sequential Search, by Equality
cxx03_stl_algorithm_find->cxx03_stl_basics
cxx03_stl_algorithm_for_each
for_each<>
cxx03_stl_algorithm_for_each->cxx03_stl_basics
cxx03_stl_algorithm_binary_search
binary_search<>: On Sorted Sequence
cxx03_stl_algorithm_binary_search->cxx03_stl_basics
cxx03_stl_algorithm_sort
sort<>
cxx03_stl_algorithm_binary_search->cxx03_stl_algorithm_sort
cxx03_stl_algorithm_copy
copy<>
cxx03_stl_algorithm_copy->cxx03_stl_basics
cxx03_stl_algorithm_lower_bound
lower_bound<>: On Sorted Sequence
cxx03_stl_algorithm_lower_bound->cxx03_stl_basics
cxx03_stl_algorithm_lower_bound->cxx03_stl_algorithm_binary_search
cxx03_stl_algorithm_lower_bound->cxx03_stl_algorithm_sort
cxx03_stl_algorithm_sort->cxx03_stl_basics
cxx03_stl_algorithm_find_if
find_if<>: Sequential Search, Customizable
cxx03_stl_algorithm_find_if->cxx03_stl_algorithm_find
cxx03_stl_algorithm_reverse
reverse<>: Reversing In-Place
cxx03_stl_algorithm_reverse->cxx03_stl_basics
cxx03_stl_exercises_reverse_string_exercise
Exercise: Reverse a String
cxx03_stl_exercises_reverse_string_solution
Solution: Reverse a String
cxx03_stl_exercises_reverse_string_solution->cxx03_stl_algorithm_reverse_copy
cxx03_stl_exercises_reverse_string_solution->cxx03_stl_algorithm_reverse
cxx03_stl_exercises_reverse_string_solution->cxx03_stl_exercises_reverse_string_exercise
cxx03_stl_sequential_containers_basics
Sequential Containers
cxx03_stl_sequential_containers_basics->cxx03_stl_basics
cxx03_stl_sequential_containers_vector
vector<>
cxx03_stl_sequential_containers_vector->cxx03_stl_sequential_containers_basics
cxx03_stl_sequential_containers_list
list<>
cxx03_stl_sequential_containers_list->cxx03_stl_sequential_containers_basics
cxx03_stl_allocator_basics
Allocator Basics
cxx03_exceptions_try_catch->cxx03_data_encapsulation_classes_objects
cxx03_exceptions_basics
Basics
cxx03_exceptions_try_catch->cxx03_exceptions_basics
cxx03_templates_function_templates
Function Templates
cxx03_templates_class_templates->cxx03_templates_function_templates
cxx03_templates_function_templates->cxx03_exceptions_try_catch
cxx03_inheritance_oo_private_protected
Inheritance: private, protected (Implementation Inheritance)
cxx03_inheritance_oo_basics
Inheritance Basics
cxx03_inheritance_oo_private_protected->cxx03_inheritance_oo_basics
cxx03_inheritance_oo_basics->cxx03_data_encapsulation_classes_objects
cxx03_inheritance_oo_virtual_destructor
Virtual Destructors
cxx03_inheritance_oo_virtual_method
Virtual Methods
cxx03_inheritance_oo_virtual_destructor->cxx03_inheritance_oo_virtual_method
cxx03_inheritance_oo_polymorphism
Polymorphic Usage Of Objects
cxx03_inheritance_oo_virtual_destructor->cxx03_inheritance_oo_polymorphism
cxx03_inheritance_oo_destructor
Destructors And Inheritance
cxx03_inheritance_oo_virtual_destructor->cxx03_inheritance_oo_destructor
cxx03_inheritance_oo_virtual_method->cxx03_inheritance_oo_basics
cxx03_inheritance_oo_polymorphism->cxx03_inheritance_oo_virtual_method
cxx03_inheritance_oo_destructor->cxx03_data_encapsulation_ctor_dtor
cxx03_inheritance_oo_destructor->cxx03_inheritance_oo_basics
cxx03_inheritance_oo_interface
C++ “Interfaces”
cxx03_inheritance_oo_interface->cxx03_inheritance_oo_virtual_destructor
cxx03_inheritance_oo_interface->cxx03_inheritance_oo_virtual_method
cxx03_inheritance_oo_interface->cxx03_inheritance_oo_polymorphism
cxx03_dynamic_memory_todo
Dynamic Memory (To Be Done)