Thread: stray octal 0223 in program

  1. #1
    random number generator reRanger's Avatar
    Join Date
    Oct 2004
    Posts
    44

    Exclamation stray octal 0223 in program

    Hello:
    I have compiled and am trying to sort out errors of the program submitted earlier (see "substring hunt and gather") I am using Dev-C++ as my compiler and I receive alot of errors in the vein of
    " stray '\223' in program", ETC. This is like when the compiler displays "errors" (?) concerning the libraries; I do not understand the option, hint, or fix there either. Does anyone aboard have any experience with the above type of warnings?
    reRanger
    "Nay! But you love the present life!"

  2. #2
    Registered User jlou's Avatar
    Join Date
    Jul 2003
    Posts
    1,090
    Just a guess, but I noticed in another thread of yours that the quote characters were different:



    instead of:

    "

    So re-type the quote characters in your program before you compile it.

  3. #3
    SleepWalker tjohnsson's Avatar
    Join Date
    Apr 2004
    Posts
    70
    stray '\223'

    You have this character on your source code and compiler warns you about it.
    It's usually shown as blank space but some Editors shows it with red background
    or how their behaviour has been build in.

    What you need to do is only delete it.... when you have found it.
    -- Add Your Signature Here --

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Yeah, you usually get a lot of those when you copy/paste code directly from some nicely formatted code which has converted a regular double quote " into a nice sloping double quote “

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please Help [Error] stray backslash in program
    By Tatsuo Go in forum C Programming
    Replies: 1
    Last Post: 09-19-2017, 09:07 PM
  2. Replies: 5
    Last Post: 04-29-2017, 02:11 AM
  3. error stray 240 in program
    By sean146 in forum C Programming
    Replies: 3
    Last Post: 11-19-2016, 07:14 PM
  4. What does: 'error: stray ‘o357’ in program' mean?
    By Phanixis in forum Linux Programming
    Replies: 8
    Last Post: 12-04-2010, 01:48 AM
  5. stray '@' in program
    By hilbert16 in forum C++ Programming
    Replies: 2
    Last Post: 10-05-2010, 06:21 AM