This chapter introduced to you the fundamentals of functions. Functions are the building blocks of any program. In this chapter, you were shown how to create functions, prototype functions, and then call functions. You were also shown how to pass parameters to functions and get return values. At this point, you should be comfortable with creating and using functions in C++.
In addition to the basics of creating and functions, we explored function overloading, parameters, and passing by reference. This material should be sufficient to make you comfortable with creating and using C++ functions. Finally, you were introduced to C++’s rich set of math functions, its time functions, and the random number generation. This should give you a solid understanding of C++ functions.