Code::Blocks Forums

User forums => Help => Topic started by: wongtimothy on October 01, 2017, 10:36:22 am

Title: Unable to use backslash \ in C programming
Post by: wongtimothy on October 01, 2017, 10:36:22 am
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.
Title: Re: Unable to use backslash \ in C programming
Post by: BlueHazzard on October 02, 2017, 08:48:39 pm
13.12 is 4 years old.... you should try a newer version...
Title: Re: Unable to use backslash \ in C programming
Post by: wongtimothy on October 03, 2017, 05:51:55 am
13.12 is 4 years old.... you should try a newer version...
Is there a newer version for Mac?
Title: Re: Unable to use backslash \ in C programming
Post by: oBFusCATed on October 03, 2017, 09:15:48 am
Not yet...