C++ LEVEL 2 – AN ODYSSEY OF C++: STANDARD LIBRARY
A two days C+ training – the successor of “An Odyssey of C : Part 1- Core Language”
GOAL/BENEFITS:
- String management
- Basic input/output – Making the user-defined type readable and writeable by understanding the concepts of the iostream-API
- Comprehend the different kinds of sequential and associative container classes
- Understand concept of iterators wiring the collections with the algorithms
- Understand concept of predicate function for controlling the behavior of an algorithm
- Understand the importance of sound memory management by always using smart pointers when applicable
- A set of exercises practicing the concepts
- Applying a unit testing as a natural way of testing/evaluating/running most of the exercises – in line with the predecessor course “C Level 1”
OUTLINE:
STANDARD LIBRARY OVERVIEW
- Standard-Library Components
- Standard-Library Headers
STRINGS AND REGULAR EXPRESSIONS
-
Strings
std::string and std::string_view
- Numeric Conversions
-
Regular Expressions – Overview
STANDARD LIBRARY OVERVIEW
- Standard-Library Components
- Standard-Library Headers
|
STRINGS AND REGULAR EXPRESSIONS
-
Strings
std::string and std::string_view
- Numeric Conversions
-
Regular Expressions – Overview
I/O STREAMS
- Output
- Input
- File Streams
- Stream Manipulators
- String Streams
- User-defined Output/Input
CONTAINERS
-
Overview of all container classes, e.g.:
-
std::vector
-
std::list
-
std::map
-
std::unordered_map
- std::array
- Complexity – Big O notation
ALGORITHMS
- Iterators – Wiring into the Arrays and Containers
- Algorithm Overview
- Using lambdas as predicate functions
UTILITIES
-
Resource Management with smart pointers
std::unique_ptr
std::shared_ptr
- std::weak_ptr
|