All courses
Pito · Backend developer
C++ Basics
The language of games, robots and olympiads: cout/cin, types, conditions, loops, functions, vector, strings, the STL, classes, pointers, olympiad tips, smart pointers, move, C++17 and threads. Every example is checked with a real compiler.
19 lessons
~7 h
Born in 1985
Chapter 1. C++ basics
5 lessons- What C++ is and where it's used ro‘yxatsiz sinab ko‘ring 4 questions 15 min
- Your first program: cout ro‘yxatdan o‘tgach 4 questions 15 min
- Variables, types and cin ro‘yxatdan o‘tgach 4 questions 20 min
- Conditions and loops ro‘yxatdan o‘tgach 4 questions 20 min
- Functions and vector ro‘yxatdan o‘tgach 4 questions 20 min
Intermediate level
Ro‘yxatdan o‘tib, oldingi darajani tugatgach — kirish imtihoni bilan ochiladi.
Chapter 2. Strings, the STL, classes and memory
5 lessons- Strings: std::string ro‘yxatdan o‘tgach 3 questions 20 min
- The STL: sort, map, set ro‘yxatdan o‘tgach 3 questions 25 min
- Classes: encapsulation, constructors, inheritance ro‘yxatdan o‘tgach 3 questions 25 min
- Pointers and memory ro‘yxatdan o‘tgach 3 questions 25 min
- C++ for olympiads ro‘yxatdan o‘tgach 3 questions 20 min
Advanced level
Ro‘yxatdan o‘tib, oldingi darajani tugatgach — kirish imtihoni bilan ochiladi.
Chapter 3. Lambdas, templates, polymorphism and files
5 lessons- Lambdas and STL algorithms ro‘yxatdan o‘tgach 3 questions 25 min
- Templates ro‘yxatdan o‘tgach 3 questions 20 min
- Virtual functions and polymorphism ro‘yxatdan o‘tgach 3 questions 25 min
- Files and exceptions ro‘yxatdan o‘tgach 3 questions 20 min
- Project: a text game, and next steps ro‘yxatdan o‘tgach 3 questions 25 min
Chapter 4. Smart pointers, move, C++17 and threads
4 lessons- Smart pointers: unique_ptr and shared_ptr ro‘yxatdan o‘tgach 4 questions 25 min
- Move semantics ro‘yxatdan o‘tgach 4 questions 25 min
- Modern C++17: structured bindings, optional, variant ro‘yxatdan o‘tgach 4 questions 25 min
- Multithreading: thread, mutex, atomic, async ro‘yxatdan o‘tgach 4 questions 25 min