Compare a specific array element to a char with "if" in C?

Posted by chutsu on Stack Overflow See other posts from Stack Overflow or by chutsu
Published on 2010-03-20T01:06:26Z Indexed on 2010/03/20 1:11 UTC
Read the original article Hit count: 252

Filed under:
|
|
|

Rather Trivial Question.

So I tried to do this:

if(array[0]=="some_string")

but obviously it doesn't work... What do I have to do?

© Stack Overflow or respective owner

Related posts about c

    Related posts about arrays