Introduction
  • About the Course
  • Why Learn C++?
  • Modern C++ and the C++ Standard
  • How does all this work?
  • FAQ -- Please Read!
Installation and Setup
  • Installation and Setup Overview
  • Installing the C++ Compiler on Windows
  • Installing CodeLite on Windows
  • Configuring CodeLite on Windows
  • Installing the C++ Compiler on Mac OSX
  • Installing CodeLite on Mac OSX
  • Configuring CodeLite on Mac OSX
  • Using the Command-Line interface
  • Installing CodeLite on Ubuntu Linux
  • Configuring CodeLite on Ubuntu Linux
  • Creating a Default CodeLite Project Template (All Versions)
  • Using the Command-Line Interface on Windows
  • Using the Command-Line Interface on Mac OSX
  • Using the Command-Line Interface on Linux (Ubuntu)
  • Using a Web-based C++ Compiler
  • Using the Included Source Code Course Resources
Curriculum Overview
  • Curriculum Overview
  • Overview of the Section Challenge Exercises
  • Overview of the Section Quizzes
Getting Started
  • Section Overview
  • An Overview of the CodeLite Interface
  • Writing our first program
  • Building our first program
  • What are Compiler Errors?
  • What are Compiler Warnings?
  • What are Linker Errors?
  • What are Runtime Errors?
  • What are Logic Errors?
  • Section Challenge
  • Section Challenge - Solution
  • Section 4 Quiz
Structure of a C++ Program
  • Section Overview
  • Overview of the Structure of a C++ Program
  • #include Preprocessor Directive
  • Comments
  • The main() function
  • Namespaces
  • Basic Input and Output (I/O) using cin and cout
  • Using cout and the insertion operator to say Hi to Frank
  • Using cout and the insertion operator
  • Using cin and the extraction operator
  • Section 5 Quiz
Variables and Constants
  • Section Overview
  • What is a variable?
  • Declaring and Initializing Variables
  • Declaring and Initializing Variables
  • Global Variables
  • C++ Built-in Primitive Types
  • What is the Size of a Variable (sizeof)
  • What is a Constant?
  • Declaring and Using Constants
  • Section Challenge
  • Section Challenge - Solution
  • Section 06 Quiz
Arrays and Vectors
  • Section Overview
  • What is an Array?
  • Declaring and Initializing Arrays
  • Accessing and Modifying Array Elements
  • Declaring, Initializing and Accessing an Array
  • Multidimensional Arrays
  • Declaring and Initializing Vectors
  • Accessing and Modifying Vector Elements
  • Declaring, Initializing and Accessing Vectors
  • Section Challenge
  • Section Challenge - Solution
  • Section 07 Quiz
Statements and Operators
  • Section Overview
  • Expressions and Statements
  • Using Operators
  • The Assignment Operator
  • Arithmetic Operators
  • Using the Assignment Operator
  • Using the Arithmetic Operators
  • Increment and Decrement Operators
  • Mixed Expressions and Conversions
  • Testing for Equality
  • Relational Operators
  • Logical Operators
  • Compound Assignment Operators
  • Operator Precedence
  • Logical Operators and Operator Precedence - Can you work?
  • Section Challenge
  • Section Challenge - Solution
  • Section 08 Quiz
Controlling Program Flow
  • Section Overview
  • if Statement