Chapter 7. Functions and an Introduction to Recursion

 

Form ever follows function.

 
 --Louis Henri Sullivan
 

E pluribus unum. (One composed of many.)

 
 --Virgil
 

O! call back yesterday, bid time return.

 
 --William Shakespeare
 

Call me Ishmael.

 
 --Herman Melville
 

When you call me that, smile!

 
 --Owen Wister
 

Answer me in one word.

 
 --William Shakespeare
 

There is a point at which methods devour themselves.

 
 --Frantz Fanon
 

Life can only be understood backwards; but it must be lived forwards.

 
 --Soren Kierkegaard

OBJECTIVES

In this chapter you’ll learn:

  • To construct programs modularly from functions.

  • To use common math functions available in the C++ Standard Library.

  • To create functions with multiple parameters.

  • The mechanisms for passing information between ...

Get Visual C++ 2008: How to Program, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.