-
1.1 Input, Output, and Program Structure
-
Notes
1.1.1 Input, Output, and Program Structure
-
Example
1.1.2 Hello World
-
Example
1.1.3 Input and Output
-
Example
1.1.4 getline and cin
-
Example
1.1.5 Program Structure
-
Quiz
1.1.6 Quiz: Input, Output, and Program Structure
-
Exercise
1.1.7 Create a Haiku
-
Exercise
1.1.8 Favorites
-
Exercise
1.1.9 Put the Code in Order
-
1.2 Basic Data Types
-
Notes
1.2.1 Basic Data Types
-
Example
1.2.2 Strings and Characters
-
Example
1.2.3 Numbers
-
Example
1.2.4 Booleans
-
Quiz
1.2.5 Quiz: Basic Data Types
-
Exercise
1.2.6 Hole in One
-
Exercise
1.2.7 Loose Change
-
Exercise
1.2.8 Fast Food
-
1.3 Conditional Statements
-
Notes
1.3.1 Conditional Statements
-
Example
1.3.2 Basic If/Else Statements
-
Example
1.3.3 Comparing Strings
-
Example
1.3.4 Logical Operators
-
Quiz
1.3.5 Quiz: Conditional Statements
-
Exercise
1.3.6 Paper Supplier
-
Exercise
1.3.7 Choose your own adventure
-
1.4 Loops
-
Notes
1.4.1 Loops
-
Example
1.4.2 For Loops
-
Example
1.4.3 While Loops
-
Example
1.4.4 Searching a String
-
Quiz
1.4.5 Quiz: Loops
-
Exercise
1.4.6 Summing a Number's Digits
-
Exercise
1.4.7 Hacker Speak
-
Exercise
1.4.8 The Necklace Problem
-
1.5 Functions in C++
-
Notes
1.5.1 Functions in C++
-
Example
1.5.2 Defining and Calling Functions
-
Example
1.5.3 Passing by Reference vs Value
-
Example
1.5.4 Function Prototypes
-
Quiz
1.5.5 Quiz: Functions in C++
-
Exercise
1.5.6 Drawing a Triangle
-
Exercise
1.5.7 Easier Input
-
Exercise
1.5.8 Encryption
-
1.6 Project: Code Verification
-
Exercise
1.6.1 Code Verification
-
1.7 End of Unit Quiz
-
Quiz
1.7.1 Quiz: C++ Basics