Thread: charIsInLiteralString()

  1. #1
    Programming Ninja In-T...
    Join Date
    May 2009
    Posts
    827

    Talking charIsInLiteralString()

    What is wrong with my charIsInLiteralString() function?

    C++ code - 325 lines - codepad

    I really thought I had it figured out, but its returning false even when its supposed to be returning true, so clearly I don't. I must be missing something, but what?

    EDIT: Nevermind...duh. I forgot to handle cases where there are multiple instances of start \" and end \" characters.

    EDIT again: Updated code, but function is still not working.
    http://codepad.org/WSTx2aQF
    Last edited by Programmer_P; 01-17-2011 at 07:42 PM.
    I'm an alien from another world. Planet Earth is only my vacation home, and I'm not liking it.

Popular pages Recent additions subscribe to a feed