Getting Started

You are about to learn C++. I will show you what it is, where it is used, and how to write your first program.

48 lessons
194 min

Lessons

1. Intro

The Goal

4m

2. Where C++ is Used

Games, systems, browsers

4m

3. What You Will Learn

Skills you will build

4m

4. Using the Online Compiler

repovive.com/compiler

5m

5. Your First Program

Complete working example

5m

6. Challenge: Hello World

Your first program

3m1 problems

7. Quiz: First Program

Program structure

2m1 problems

8. Challenge: Print Your Name

Personalized greeting

5m1 problems

9. The #include Line

Adding external code

4m

10. Vocabulary - Header Files

Library definitions

4m

11. Quiz: Understanding #include

Understanding #include

3m1 problems

12. The using namespace std Line

Avoiding std:: prefix

4m

13. The main Function

Where execution starts

5m

14. Quiz: Program entry point

Program entry point

3m1 problems

15. Vocabulary - Function

Reusable code blocks

4m

16. The cout Statement

Displaying text

5m

17. The endl Keyword

Moving to next line

4m

18. Quiz: Basic Structure

Test your understanding

3m1 problems

19. The return Statement

Signaling completion

4m

20. Semicolons

Ending each instruction

4m

21. Quiz: Statement termination

Statement termination

3m1 problems

22. Curly Braces

Grouping statements together

4m

23. Quiz: Syntax Elements

Punctuation rules

3m1 problems

24. Comments - Single Line

Explaining code briefly

4m

25. Comments - Multi Line

Longer explanations

4m

26. Quiz: Code documentation

Code documentation

3m1 problems

27. Why Write Comments

Helping future readers

4m

28. Vocabulary - Syntax

Language structure

4m

29. Vocabulary - Compiler

Code to machine code

4m

30. Common Error - Missing Semicolon

The semicolon rule

4m

31. Common Error - Missing Braces

Unclosed code blocks

4m

32. Common Error - Typos in Keywords

Misspelling reserved words

4m

33. Reading Error Messages

Interpreting compiler feedback

4m

34. Quiz: Common Errors

Identifying mistakes

3m1 problems

35. Code Style - Indentation

Making structure visible

4m

36. Code Style - Naming

Choosing clear identifiers

4m

37. Quiz: Valid identifiers

Valid identifiers

3m1 problems

38. Problem - Print Multiple Lines

Practice output statements

4m1 problems

39. Problem - Print a Box Pattern

Creating text art

4m1 problems

40. Problem - Print Pattern

Simple output problem

4m1 problems

41. Print Pattern - The Idea

Main approach

4m

42. Print Pattern - Implementation

Complete solution

7m1 problems

43. Lessons from Print Pattern

What we learned

4m

44. Problem - Hello Name

Interactive program basics

4m1 problems

45. Hello Name - The Idea

Main approach

5m

46. Hello Name - Implementation

Complete solution

7m1 problems

47. Lessons from Hello Name

What we learned

4m

48. Section Recap

What we learned

5m

Ready to start learning?

Access all 48 lessons with interactive content and progress tracking.