| C++ Program Design, 3/e James P. Cohoon,
University of Virginia Jack W. Davidson,
University of Virginia
Programmer-defined functions
Chapter 6 OverviewChapter 5 explored the use of library functions to accomplish tasks. However,
any significant software project also requires that new functions be designed
and implemented. In this chapter, we consider the basics of programmer-defined
functions with value parameters. Our examination includes a
discussion of invocation, parameters, and the local and global scopes. |
|