cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
string compare
string compare
Aug 3, 2012 at 7:21am UTC
newbie17
(9)
how to compare to char strings in c++
can i use strcmp()????
Aug 3, 2012 at 7:55am UTC
closed account (
o3hC5Di1
)
http://cplusplus.com/reference/clibrary/cstring/strcmp/
Yes.
All the best,
NwN
Aug 3, 2012 at 10:08am UTC
Moschops
(7244)
It would be better to use actual C++ strings, rather than C-style arrays of char.
Topic archived. No new replies allowed.