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
  1. Video:Introduction to C++
  2. Practice:Hello, CodeSkill!
  3. Practice:Three lines
  4. Quiz:Check: your first program
  5. Video:Variables and user input
  6. Practice:How old are you?
  7. Practice:Reverse order
  8. Quiz:Check: variables and input
  9. Video:Arithmetic operations
  10. Practice:Simple calculator
  11. Practice:Average of three
  12. Practice:Hours and minutes
  13. Quiz:Check: arithmetic
  14. Video:If statement and bool
  15. Practice:Even or odd
  16. Practice:The bigger number
  17. Quiz:Check: if and bool
  18. Video:More on if else
  19. Practice:Letter grade
  20. Practice:Ticket price
  21. Practice:Leap year
  22. Quiz:Check: if else chains
  23. Video:Switch statement
  24. Practice:Day of the week
  25. Practice:Weekday or weekend
  26. Quiz:Check: switch
  27. Video:Switch with char type example
  28. Practice:Are you sure?
  29. Practice:Calculator with operators
  30. Quiz:Check: char and switch
  31. Video:While loop
  32. Practice:Countdown
  33. Practice:Sum of numbers
  34. Quiz:Check: while loops
  35. Video:Loop controls
  36. Practice:Stop at zero
  37. Practice:Skip the negatives
  38. Quiz:Check: break and continue
  39. Video:For loop
  40. Practice:Multiplication table
  41. Practice:FizzBuzz
  42. Quiz:Check: for loops
  43. Practice:Digit sum
  44. Quiz:Final test: C++ basics