KW> SS> /* 1. Passing by reference */
KW> SS> void foo( int& HeyIMagicallyAlterYourVariableWithoutTellingYou
KW> SS> {
KW> You aren't gonna like this one bit then... What you mention above pa
KW> reference, I posted a C example of it happening just this week. C do
KW> also. Check out the Pointer cheat sheet I posted it gives you all th
KW> possibilites.
I may end up hating myself for starting this back up again. If not,
others will definitely hate me for it. Oh well. Here goes.
C does not support references. It does supports passing pointers, which
the programmer can then use to accomplish the same thing a reference
accomplishes. Very similar, but not the same.
Regards,
Daniel ddjones@pinn.net
---
þ RM 1.31 1604 þ The brain is only as strong as its weakest think.
---------------
* Origin: Selective Source Virginia Beach, VA (757)471-6776 (1:275/102)
|