Programming with Functions

Ivor Horton · Apress eBooks · 2004

Dividing your program into manageable chunks of code is an idea that’s fundamental to programming in every language. A function is a basic building block in all C++ programs. So far, you’ve made use of some of the functions from the standard library, but the only functions you’ve written yourself are the ones called main (). This chapter is all about defining your own functions with names that you choose.

Read the paper · More papers on PaperTik