C++ · 44 lessons
C++ Basics
Learn C++ from your first program to loops. Ten short videos, each followed by code practices that run right in your browser and a quiz to check what you learned.
- 10 videos
- 23 practices
- 11 quizzes
Course content 44
- Introduction to C++
- Hello, CodeSkill!
- Three lines
- Check: your first program
- Variables and user input
- How old are you?
- Reverse order
- Check: variables and input
- Arithmetic operations
- Simple calculator
- Average of three
- Hours and minutes
- Check: arithmetic
- If statement and bool
- Even or odd
- The bigger number
- Check: if and bool
- More on if else
- Letter grade
- Ticket price
- Leap year
- Check: if else chains
- Switch statement
- Day of the week
- Weekday or weekend
- Check: switch
- Switch with char type example
- Are you sure?
- Calculator with operators
- Check: char and switch
- While loop
- Countdown
- Sum of numbers
- Check: while loops
- Loop controls
- Stop at zero
- Skip the negatives
- Check: break and continue
- For loop
- Multiplication table
- FizzBuzz
- Check: for loops
- Digit sum
- Final test: C++ basics