Expert Software Development, Staffing & Consulting


reference

02
Mar2012

Reference and Pointer Parameters A question that often arises when working with C++ is whether it’s better to use references or pointers for function parameters.  Both types of parameters provide the ability for a function to indirectly access an object in the calling environment.  This indirect access provides several benefits: The object referred/pointed to by [...]

Read More