string compare

how to compare to char strings in c++

can i use strcmp()????
closed account (o3hC5Di1)
http://cplusplus.com/reference/clibrary/cstring/strcmp/

Yes.

All the best,
NwN
It would be better to use actual C++ strings, rather than C-style arrays of char.
Topic archived. No new replies allowed.