I have written a small game program text program using
if and else commands.
when i compiled it i got this message:
" C++ forbids comparison between pointer and integer"
below is the error line of my code:
if (attack =="y") {
its really got me as the rest of my program is fine.
does anyone know what the error means??