Here's a simple tip; if the compiler says "C++ forbids comparison between pointer and integer", look through your code for all the places you do any comparisons. The compiler will normally narrow it down to an individual function.
Here's a simple tip; if the compiler says "C++ forbids comparison between pointer and integer", look through your code for all the places you do any comparisons. The compiler will normally narrow it down to an individual function.