O'Reilly logo

Just Enough C/C++ Programming by Guy W. Lecky-Thompson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. User-Defined Functions

You’ve been using many functions in this book that are defined outside of the C and C++ languages. When using the Standard Libraries, for example, you always #include a library header file containing the definitions of the functions you want to use. Until now, the text has glossed over the actual mechanism that allows you to reuse this code.

In fact, despite these functions being part of the ANSI standard C definition, someone has to write functions to provide the functionality, and the exact implementations will differ from platform to platform. All that the ANSI stubs give you is the input and output; it is up to a developer to write code that satisfies the design.

You can also deploy your own functions using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required