##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
You are about to learn C++. I will show you what it is, where it is used, and how to write your first program.
The Goal
Games, systems, browsers
Skills you will build
repovive.com/compiler
Complete working example
Your first program
Program structure
Personalized greeting
Adding external code
Library definitions
Understanding #include
Avoiding std:: prefix
Where execution starts
Program entry point
Reusable code blocks
Displaying text
Moving to next line
Test your understanding
Signaling completion
Ending each instruction
Statement termination
Grouping statements together
Punctuation rules
Explaining code briefly
Longer explanations
Code documentation
Helping future readers
Language structure
Code to machine code
The semicolon rule
Unclosed code blocks
Misspelling reserved words
Interpreting compiler feedback
Identifying mistakes
Making structure visible
Choosing clear identifiers
Valid identifiers
Practice output statements
Creating text art
Simple output problem
Main approach
Complete solution
What we learned
Interactive program basics
Main approach
Complete solution
What we learned
What we learned