8 ms·
In C++ you can't hide a variable with another of the same name in the same scope. So you'd want to give different names to all the 'state' variables.
by alvarelle 6y ago
In C++ you can't hide a variable with another of the same name in the same scope. So you'd want to give different names to all the 'state' variables.