When I try to compile my code using g++ in terminal, I get an error:
Decoder.cpp:32:1: fout: stray ‘\302’ in program
Decoder.cpp:32:1: fout: stray ‘\262’ in program
Decoder is a class that decodes lines from an inputfile. I have no idea what these errors can be. When I look on the internet, they say it has something to do with whitespaces. No clue why! I used to write empty spaces to an output file: like this out << " ";
. But I never got an error untill now.
So I went to eclipse, and my code runs fine. Back to g++ and I get the same error. Any idea why?