Author Topic: Unable to use backslash \ in C programming  (Read 261 times)

Offline wongtimothy

  • Single posting newcomer
  • *
  • Posts: 2
Unable to use backslash \ in C programming
« 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.

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1520
Re: Unable to use backslash \ in C programming
« Reply #1 on: October 02, 2017, 08:48:39 pm »
13.12 is 4 years old.... you should try a newer version...

Offline wongtimothy

  • Single posting newcomer
  • *
  • Posts: 2
Re: Unable to use backslash \ in C programming
« Reply #2 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?
« Last Edit: October 03, 2017, 05:54:37 am by wongtimothy »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10279
Re: Unable to use backslash \ in C programming
« Reply #3 on: October 03, 2017, 09:15:48 am »
Not yet...
<debugger plugin maintainer>
(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!]