She didn't say anything about pointers, so I'm assuming she's just storing numbers between 0-255 as unsigned chars. In that case, using == is all you need. If it's a char string, then convert them both to lower-case (or upper-case) and use strcmp().
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.