This gives me an error and I really don't understand why.Code:char inputchar; if(inputchar=="a"){...stuff here...}
" ANSI C++ forbids comparison between pointer and integer"
No pointer anywhere here.
((EDIT: It is talking about the if statement; in my actual code the if(inputchar.. is on a line by itself and it is showing that line))