Ok, I am just writing this simple program that reads a text file char by char but when i use the buffer variable thats a single type char, and i then ask in an if statement in the buffer variable equals another single char variable it ALWAYS equates to false. Ive tried all kinds of combinations of making the two variables pointers and refferences and nothing changes the all false, though some work without errors. I realize im passing the refference when i pass it to the get or read operations, so for some reason does that make the result unable to go through any operations??even equal.
If I just output the chars im reading i can output a txt file just dandy. But all i want it to do is say if it equals another char or not and it never equals.