User forums > Help

Unable to use backslash \ in C programming

(1/1)

wongtimothy:
I am using Mac and I have installed Code::Blocks 13.12. However when I want to print backslash or use \n, it gives a ?, and a message "warning message: illegal character encoding in string literal" after I build and run. This does not happen in Windows.

BlueHazzard:
13.12 is 4 years old.... you should try a newer version...

wongtimothy:

--- Quote from: BlueHazzard on October 02, 2017, 08:48:39 pm ---13.12 is 4 years old.... you should try a newer version...

--- End quote ---
Is there a newer version for Mac?

oBFusCATed:
Not yet...

Navigation

[0] Message Index

Go to full version