warning: multi-character character constant

This is a discussion on warning: multi-character character constant within the C Programming forums, part of the General Programming Boards category; hi cboard i am trying to use the strchr function but because i am using a different character for example ...

  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    85

    warning: multi-character character constant

    hi cboard

    i am trying to use the strchr function but because i am using a different character for example , or it comes up with the following error

    warning: multi-character character constant

    does anybody know how to fix this error because i (guessing here) believe its something to do with the compiler

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    Look at the thread "how to assign text to its own variable".

  3. #3

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. classes and objects
    By GoldenBoy in forum C++ Programming
    Replies: 12
    Last Post: 07-08-2010, 08:28 AM
  2. <Gulp>
    By kryptkat in forum Windows Programming
    Replies: 7
    Last Post: 01-14-2006, 01:03 PM
  3. Compiler "Warnings"
    By Jeremy G in forum A Brief History of Cprogramming.com
    Replies: 24
    Last Post: 04-24-2005, 02:09 PM
  4. UNICODE and GET_STATE
    By Registered in forum C++ Programming
    Replies: 1
    Last Post: 07-15-2002, 04:23 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 06:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21