News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Unable to use backslash \ in C programming

Started by wongtimothy, October 01, 2017, 10:36:22 AM

Previous topic - Next topic

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

#2
Quote from: BlueHazzard on October 02, 2017, 08:48:39 PM
13.12 is 4 years old.... you should try a newer version...
Is there a newer version for Mac?

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]