|
-
Mar 20th, 2006, 01:34 PM
#14
Re: Coding standard-function returning multiple values
I subscribe to the philosophy of never giving anything a greater scope than absolutely necessary - it limits these sorts of problems.
As for the function, either reference/pointer arguments or returning a structure would be preferable. It depends on the type of data represented.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|