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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.