9.10 Conclusion


9.10 Conclusion

From this chapter we can summarize functions as being reflective of their mathematical counterparts. They can accept arguments and can output values. These return values and arguments can be of any valid data type. Furthermore, some functions may not have return values and/or arguments. Some functions simply perform a process. In short, functions are a good way of breaking down code and dividing it into manageable and reusable chunks. The next chapter considers data structures and classes.




Introduction to Game Programming with C++
Introduction to Game Programming with C++ (Wordware Game Developers Library)
ISBN: 1598220322
EAN: 2147483647
Year: 2007
Pages: 225
Authors: Alan Thorn

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net