Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Behavior of compareSTRING
#1
For the compareSTRING function, what is considered to be greater than and less than? Are we comparing the lengths of the strings?
Reply
#2
I think it would just be a wrapper to the strcmp() function in the string.h library.
Reply
#3
Yes, use strcmp as a basis (just return what it returns).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)