Search code examples
ccompiler-errorsdev-c++

Compile error "Error stray '\240' in program" using DevC++


My code is the very simple breadth-first search (BFS) algorithm. But the compiler sent me the:

Error stray '\240'

Why?

Enter image description here


Solution

  • You have probably copied this from somewhere and there are some non-ASCII characters. Open it with some editor where you can see all characters and you will see some strange signs.

    The problem is connected to intentions.