how do i compare two strings or char.. otherthan using strcmp??
rapperhuj
-3
Light Poster
Recommended Answers
Jump to PostIn C you can write your own strcmp() by comparing each character of the first string with each character of the second string. If the length of the two strings are not the same then they are obviously not the same thing. If they are the same length then you …
All 3 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
rapperhuj
-3
Light Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.