Posted by Amy on July 10, 2000 at 17:40:37:
For the example you posted on the web, there is a
void SetName (string& astring);
It gives a value to name variable. Why it is passed by reference? Can I pass it by value? Like
void SetName (string astring);
What's the difference between these?
Thanks!