ОТКРЫТЫЙ КУРС · 20 lessons

C++

Meet C++ through small console programs: input, decisions, loops and functions.

Learning with progressNotes can be read without registration. An account is required to save the tasks.
Who this is for

For beginners curious about a more explicit language and computer programs. Advanced maths is not needed to start.

How the course works

20 lessons in four modules. Short code notes explain ideas, guided classwork builds fluency, and homework calls for your own solution. The course ends with an exam.

What you will learn

  • Understand main, cout and cin in a simple program.
  • Use variables, types, comparisons and conditions.
  • Use loops, strings, arrays or vector for multiple values.
  • Extract repeated work into a function and build a console program.

Module path

  1. IntroductionProgram structure, output, input and variables.
  2. Decisions and repetitionsChecks and choices based on conditions.
  3. Loops and data setsLoops and working with multiple values.
  4. Your own programsFunctions, structures and a final program.

Your result

You will build a small console task using the parts you learned and test yourself in a final exam covering all four modules.

What comes next

These are C++ foundations. Pointers, memory management, templates and large applications need further study. The VS Code course helps with compiling files on a computer.

01
MODULE 1 · УРОКИ 1–5

Introduction

Inference, Variables and Computations

  1. Lesson 1. First messagecout and main · 12 мин →
  2. Lesson 2. Number boxint · 12 мин →
  3. Lesson 3. Text boxstring · 12 мин →
  4. Lesson 4. Count the purchases.+, * and brackets · 12 мин →
  5. Lesson 5. Choosing a pathif and else · 12 мин →
02
MODULE 2 · УРОКИ 6–10

Decisions and repetitions

Conditions, input and loops

  1. Lesson 6. Truth or falsehoodbool and comparison · 12 мин →
  2. Lesson 7. Two checks.&& и || · 12 мин →
  3. Lesson 8. Numbers with a pointdouble · 12 мин →
  4. Lesson 9. Keyboard answercin · 12 мин →
  5. Lesson 10. Repeat action.for · 12 мин →
03
MODULE 3 · УРОКИ 11–15

Loops and data sets

Repetition, arrays, strings and vector

  1. Lesson 11. Repeat to the border.while · 12 мин →
  2. Lesson 12. Numbers nearMassive · 12 мин →
  3. Lesson 13. The word and its lengthstring.size() · 12 мин →
  4. Lesson 14. Growing listvector · 12 мин →
  5. Lesson 15. Add to the listpush_back · 12 мин →
04
MODULE 4 · УРОКИ 16–20

Your own programs

Functions, structures and final draft

  1. Lesson 16. Your command.Function · 12 мин →
  2. Lesson 17. Function with responsereturn and arguments · 12 мин →
  3. Lesson 18. Each elementrange for · 12 мин →
  4. Lesson 19. Item with propertiesstruct · 12 мин →
  5. Lesson 20. Bottom line: command pointsvector function and if · 18 мин →