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- 1Your first programC++The main function, printing with cout, and a function that returns a value10 min
- 2Variables and typesC++Types and integer division11 min
- 3ConditionalsC++Branching with if, else if and switch12 min
- 4LoopsC++Repetition with for, while and nested loops13 min
- 5Values and referencesC++Changing the original through a reference and passing a string without copying it12 min
- 6VectorsC++std::vector and the range-based for loop13 min
- 7StringsC++The find, substr and toupper functions14 min
- 8StructsC++A struct with its fields and member functions13 min
- 9ClassesC++Hiding fields with private, constructors and encapsulation14 min
- 10Counting and sortingC++Counting with std::map and sorting with std::sort and a lambda15 min