---
What is c++?
What it is good for, what it is not good for.
Compiler and editor
development cycle
HelloWorld.cpp
Compiler errors
What is a c++ program?
Parts of a simple program
comments
functions
Variables
What is a variable
Defining a variable
Creating more than one variable at a time
Assigning values to your variables
Constants
Statements
Statements
Expressions
Operators
Combining the assignment and mathematical operators
Increment and decrement
Precedence
Nesting parenthesis
The nature of truth/boolean
Relational operators
The if statement
The if statement
Use braces in nested if statements
Logical operators
Functions
What is a function?
Declaring and defining functions
Local variables
Function statements
Function arguments
Parameters are local variables
Return values
Default parameters
Overloading functions
Classes
Creating new types
classes and members
Private versus public classes
Implementing class methods
Constructors and Destructors
Const member functions
Using classes well
Inteface versus implementation
Where to put class declarations and method definintions
Inline implementation
Classes with other classes as member data
Looping
While loops
do...while loops
for loops
Switch statements
Pointers
What is a pointer
Why would you use pointers
the stack and th free store
Creating objects on the free store
Deleting objects
Accessing data members
Member data on the free store
The this pointer
Stray or dangling pointers
const pointers
References
What is a reference
Creating a reference
What can be referenced?
Null pointers and null references
Passing function arguments by reference
Returning multiple values
Advanced Functions
Overloaded member functions
Choosing between default values and overloaded functions
The default constructor
Overloading constructors
Initializing objects
The copy constructor
Operators
Operator overloading
Conversion operators
Arrays
What is an array?
Array elements
Writing past the end of an array
Fence post errors
Initializing arrays
Arrays of objects
Array pointers
Declaring arrays on the free store
A pointer to an array versus an array of pointers
Pointers and array names
Deleting Arrays on the free store
Charactar arrays
Char arrays
String classes
Inheritance
What is inheritance
Private vs. protected members
Constructors and deconstructors
Overriding functions
Polymorphism
virtual methods
Abstract data types
Comments (0)
You don't have permission to comment on this page.