pascal, cdecl, near, far, and huge Modifiers

Chapter 10 - Using Pointers

Visual C++ 6: The Complete Reference
Chris H. Pappas and William H. Murray, III
  Copyright 1998 The McGraw-Hill Companies

When Should You Use Reference Types?
To review, there are four main reasons for using C++ reference types:
  • They lend themselves to more readable code by allowing you to ignore details of how a parameter is passed.
  • They put the responsibility for argument passing on the programmer who writes the functions, not on the individual who uses them.
  • They are a necessary counterpart to operator overloading.
  • They are also used with passing classes to functions so constructors and destructors are not called.
These concepts are described in greater detail in Chapter 16.

Books24x7.com, Inc 2000 –  


Visual C++ 6(c) The Complete Reference
Visual Studio 6: The Complete Reference
ISBN: B00007FYGA
EAN: N/A
Year: 1998
Pages: 207

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