Hour 5. Functions

When people talk about C++ they mention objects first. Yet objects rely on functions to get their work done. This hour you learn

  • What a function is and what its parts are

  • How to declare and define functions

  • How to pass parameters into functions

  • How to return a value from a function

Get Sams Teach Yourself C++ in 24 Hours, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.