6. Functions

Object-Oriented Programming Using C++.

Functions

Study Guide

Functions

Function Basics

Function Definitions and Declarations

Functions and Variable Scope

Function Return (Part 1)

Function Arguments and Parameters

Pass-By-Value

Pass-By-Pointer

Pass-By-Reference

Argument Passing Summary

Function Return (Part 2)

Overloaded Functions

Default Arguments

Functions and the const Keyword

Macros and Inline Functions

Recursion

Recursion Examples

Recursion V. Iteration

From Documentation To Programs

Functions And Link Errors

Avoiding Runtime Errors

Worked Examples

Time

The Swapping Problem (3)

Functions And The Debugger

Practice Problems

Functions With Loops

Supplemental

Storage Modifiers

Variable Argument Lists

Pointers To Functions: Callback Functions