Hey guys. Im working on a random project. I declared 2 global variables above a bool function but the bool function wont compile because it says that "count" is undefined symbol
There is an ambiguity between std::count and ::count. It appears that the implementation has gratuitously included <algorithm>
Resolve by
a. Not dumping usingnamespace std; at file scope
or b. Using an explicit scope resolution for( int i=0 ; i<= ::count ; ++i )
or c. Renaming the variable count to something else.