In my program to turn an infix statement into a postfix or prefix statement, I want to check if a character from my input is equal to a space OR if it is equal to the end of the array.
So basically, I have a char array and Im picking off one char at a time, then comparing it.
So, how do I say:
if(array[i] == ' ') ?
if(array[i] == '/0') ?
I dont think those are correct, but I think thats why my program is messing up.