Table of Contents
CS 250
Review Today
Reference Parameters
Reference Parameters
Much Better Example
Much Better Example
What Can Be Referenced
Why Do You Want To Do This?
Default Arguments
Default Arguments
Example
Unary Scope Resolution Operator
Unary Operation Example
Result
Function Overloading
Example of Function Overloading
Important Class Functions
Important Functions
Constructor Example
Constructor Continued
Accessors
Accessors
Example Using Accessors and Constructors
Assignment #3
Summary
|