why "error - not declared in this scope"Hello, I'm new to C++ and found a snippet of code online that I was trying to modify for my own u...