Im going through Section 2 again, i had already gone through the entire section a few months ago. This time i have a better understanding of c++.
While going through the videos up until now, i have been trying to keep my functions a clean and concise as possible, it is for this reason i have been passing paramaters into my functions. I should not have to re define anything in a function, so i moved my declarations into a struct for now. Later on in the course when we begin to use classes this will no longer be necessary, but for now it makes my code simple.
Check it out here and let me know your thoughts
My Code