Should arguments always be passed to functions or can variables outside of the scope of the function be used in the function?@JLBorges: thanks. Good to know. That's what I do already.
Should arguments always be passed to functions or can variables outside of the scope of the function be used in the function?And how about using reference variables for function parameters, so that values of variables outside...
Should arguments always be passed to functions or can variables outside of the scope of the function be used in the function?Yeah the function will never be used anywhere else but at the same time I want to code properly lol....
Should arguments always be passed to functions or can variables outside of the scope of the function be used in the function?I have a function that will only be used in the software I am making. It's in the .cpp file containi...
Is encapsulation necessary in solo projects?Guys, I have a reply for each and every one of your questions, critique and (wrong) assumptions on w...
This user does not accept Private Messages