charIsInLiteralString()

This is a discussion on charIsInLiteralString() within the C++ Programming forums, part of the General Programming Boards category; What is wrong with my charIsInLiteralString() function? C++ code - 325 lines - codepad I really thought I had it ...

  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 06: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

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