| metulburr (278) | |||
|
What is the difference between a function passing by reference and a function passing the variable and return it to the original variable. It seems to do the same? This is the example code i was testing it on:
| |||
|
|
|||
| cire (2362) | |
|
You don't actually pass by reference anywhere in your code. Useful links: http://www.parashift.com/c++-faq-lite/references.html http://stackoverflow.com/questions/1647373/difference-between-pass-by-reference-and?rq=1 http://stackoverflow.com/questions/410593/pass-by-reference-value-in-c | |
|
|
|