Week 4 Objectives

Given a game program, develop a solution algorithm which employs:

  • Functions and methods that pass arguments by value and by reference
  • A function prototype, overloaded functions, and which vary the scope and duration and use for a given variable
  • The string class and emphasizes string manipulation

Key Concepts:

  • Explain the use of system- and user-defined functions.
  • Validate the need for a function prototype.
  • Examine the concepts of global/local variables.
  • Determine how functions pass arguments (or not) to functions.
  • Analyze how Sprites are created and used to create graphic animation.

Table Of Contents

Previous topic

Simple Animation

Next topic

More on C++ Functions

This Page