Skip to content
KALANBLON
Beginner1 h 35Free

C++: deciding and repeating

Make your programs react with if and switch, read the keyboard with std::cin while checking every input, repeat actions with while and for, and discover std::vector, the array that grows by itself.

Start the course

0 / 6 chapters completed

What you'll be able to do

  • Write conditions with if, else if, else and switch
  • Read and validate input with std::cin
  • Repeat instructions with while, do while and for
  • Store a list of values in a std::vector and go through it
  • Avoid infinite loops and out-of-bounds accesses

Course outline