error: stray '\' in program
stray.c:6: error: stray '\315' in program stray.c:7: error: stray '\242' in program stray.c:8: error: stray '\234' in program If you are getting error messages like above in your C/C++ program, then don't worry. ;-) Perhaps you have copied the code from somewhere. If your code is small ,then the simplest solution is that you should start typing it from zero. That is , delete all the code ( the lines you know you have copied) and re-type it. If your code is lengthy and you do not want to type it, then you should use this software : Hex Editor Wiki You may be wondering that why this problem even occurred. The reason for this is that your code might contain some hidden octal (not-readable) characters which the compiler cant understand and you can not see. They are present in your code because you have perhaps copied it from somewhere. So, simply you can retype the same code to solve the problem. ----- Happy Coding :-)