Functions
Lesson Objectives
By the end of this chapter, you will be able to:
- Explain what functions are and how to declare them
- Utilize local and global variables
- Pass arguments to functions and return values from functions
- Create overloaded functions and call them appropriately
- Apply the concept of namespaces in organizing functions
In this chapter, we are going to look at functions in C++, how to use them, and why we would want to use them.