quiz ; does this compile and if so what does it return (I know the answer)

Posted by pm100 on Stack Overflow See other posts from Stack Overflow or by pm100
Published on 2010-03-23T22:49:27Z Indexed on 2010/03/23 22:53 UTC
Read the original article Hit count: 121

Filed under:
|

found this typo recently

 if (name.find('/' != string::npos))

I was amazed that it even compiles at -Wall -Werror (didnt try with -pedantic)

so coffee quiz - does it eval to true or false

© Stack Overflow or respective owner

Related posts about c

    Related posts about quiz