Passing by values(copy of the value) or references(actual value)?
- What is the difference minus the two mentioned?
- What is the better choice?
Also this is a more general quesiton OOP, with most languages its better to learn and use OOP then just programming a slab of code in the main. Gather the same for this?
Also quick refresh OOP = global variables, constructor, destructor and functions. The calls the functions to do the work (induces repitition the main objective of OOP), this correct?
Please correct, or fix up my mis conseptions.
Thanks in advance, Regards X
PS: Any other tips will be more than welcomed.