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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.