Original Post
Lang: C/C++ I was just curious about what is the best way to pass parameters of an object. For example say we have a function foo and we are wanting to pass an object (any object that comes to your mind while reading this) into function foo. For example:
___ namespace of object
| ________________ the object
| | ____________________ the name of the object
| | |
Foo(obj::Object object); What would be the best way to pass this object in this situtations: [1] the object won't experience any change [2] the object will experience some change All relpies are appreciated! = ] Ps: How do you add links in one's signature?