Home > Store > Programming > C/C++

Defining Your Own C++ Functions

Register your product to gain access to bonus material or receive a coupon.

Defining Your Own C++ Functions

eBook (Watermarked)

  • Your Price: $5.00
  • About Watermarked eBooks
  • This PDF will be accessible from your Account page after purchase and requires the free Adobe® Reader® software to read it.

    The eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

    Watermarked eBook FAQ

Description

  • Copyright 2006
  • Dimensions: 7 X 9
  • Pages: 34
  • Edition: 1st
  • eBook (Watermarked)
  • ISBN-10: 0-321-48116-X
  • ISBN-13: 978-0-321-48116-0

Need to know HTML and PHP programming right now, but don’t want a 1,000-page tome? Check out the Peachpit’s new Short Cuts! Quick PDF guides that are...Smart...Handy...Concise.

This mini guide covers exactly what you need to know about defining your own C++ functions, and nothing more. Why define functions? The premise behind any function in any language is simple: encapsulate a process under one name. Then, by calling that name (invoking the function), you can repeat that sequence of steps with ease. New to C++? No problem. You’ll get all the fundamentals, techniques, and key concepts you need to understand how to define and call your own functions. First you’ll create a simple function, one that takes no arguments and returns no values. Then you’ll begin writing functions that take required arguments, optional arguments, and overloading. The guide concludes with a lesson on variable scope: understanding where variables exist.

Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership