Thread: how do I do "this or that" with strcmpi

  1. #16
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    wow!...

  2. #17
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    Having the ! there is no different... strcmp returns 0 when strings are equal.

  3. #18
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728
    It does?? LOL, so then thats my problem! I never use strcmp, but I assumed (and am confused as to why it doesn't) that if they were equal it would return true, not false!

    My bad! <shrinks into the shadows...>

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. alternative to strcmpi
    By ehj3000 in forum C Programming
    Replies: 6
    Last Post: 12-12-2005, 07:09 PM
  2. HELP with strlen and strcmpi
    By unejam2005 in forum C++ Programming
    Replies: 2
    Last Post: 12-11-2005, 03:01 AM
  3. basic strcmpi question
    By Noobie in forum C++ Programming
    Replies: 3
    Last Post: 05-04-2003, 02:50 PM
  4. strcmpi()
    By Sicilian in forum C++ Programming
    Replies: 4
    Last Post: 04-04-2002, 02:19 PM