Wun Code
C++

C++‎ Basics

C++‎ is the language behind game engines, browsers and operating systems, because it's fast and gives you full control.

Start the trackFree, no sign-up needed

What you'll learn

  • Your first programThe main function, printing with cout, and a function that returns a value
  • Variables and typesTypes and integer division
  • ConditionalsBranching with if, else if and switch
  • LoopsRepetition with for, while and nested loops
  • Values and referencesChanging the original through a reference and passing a string without copying it
  • Vectorsstd::vector and the range-based for loop
  • StringsThe find, substr and toupper functions
  • StructsA struct with its fields and member functions
  • ClassesHiding fields with private, constructors and encapsulation
  • Counting and sortingCounting with std::map and sorting with std::sort and a lambda

Track contents

10 lessons, 2 hours in total
  1. 1Your first programC++The main function, printing with cout, and a function that returns a value
  2. 2Variables and typesC++Types and integer division
  3. 3ConditionalsC++Branching with if, else if and switch
  4. 4LoopsC++Repetition with for, while and nested loops
  5. 5Values and referencesC++Changing the original through a reference and passing a string without copying it
  6. 6VectorsC++std::vector and the range-based for loop
  7. 7StringsC++The find, substr and toupper functions
  8. 8StructsC++A struct with its fields and member functions
  9. 9ClassesC++Hiding fields with private, constructors and encapsulation
  10. 10Counting and sortingC++Counting with std::map and sorting with std::sort and a lambda