(SOLVED)Help with ISO C++ forbids comparison between pointer and integer.

There are plenty of free programming tutorials out there. That said, if you are totally new to programming, start with a tutorial on learning C. That's good enough for a start. When you get comfortable with that, then pick a C++ tutorial and keep learning.