o‘zing o‘rgan
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
  1. What C++ is and where it's used ro‘yxatsiz sinab ko‘ring 4 questions 15 min
  2. Your first program: cout ro‘yxatdan o‘tgach 4 questions 15 min
  3. Variables, types and cin ro‘yxatdan o‘tgach 4 questions 20 min
  4. Conditions and loops ro‘yxatdan o‘tgach 4 questions 20 min
  5. 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
  1. Strings: std::string ro‘yxatdan o‘tgach 3 questions 20 min
  2. The STL: sort, map, set ro‘yxatdan o‘tgach 3 questions 25 min
  3. Classes: encapsulation, constructors, inheritance ro‘yxatdan o‘tgach 3 questions 25 min
  4. Pointers and memory ro‘yxatdan o‘tgach 3 questions 25 min
  5. 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
  1. Lambdas and STL algorithms ro‘yxatdan o‘tgach 3 questions 25 min
  2. Templates ro‘yxatdan o‘tgach 3 questions 20 min
  3. Virtual functions and polymorphism ro‘yxatdan o‘tgach 3 questions 25 min
  4. Files and exceptions ro‘yxatdan o‘tgach 3 questions 20 min
  5. 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
  1. Smart pointers: unique_ptr and shared_ptr ro‘yxatdan o‘tgach 4 questions 25 min
  2. Move semantics ro‘yxatdan o‘tgach 4 questions 25 min
  3. Modern C++17: structured bindings, optional, variant ro‘yxatdan o‘tgach 4 questions 25 min
  4. Multithreading: thread, mutex, atomic, async ro‘yxatdan o‘tgach 4 questions 25 min