|
GCC: unknown escape sequence: '\040'Problem: While compiling C or C++ source code in the GNU C compiler you get a warning: unknown escape sequence: '\040'
Explanation:
Solution: char szFileName[] = { "Some\ File.jpg" }; ^ +--- this is illegal!then you will need to double the backslash for it to be interpreted as a standalone character separate from the following space: char szFileName[] = { "Some\\ File.jpg" }; |