Search:

Type: Posts; User: whiteflags

Search: Search took 0.13 seconds.

  1. Replies
    18
    Views
    2,378

    They aren't the same. strcmp() will compare...

    They aren't the same. strcmp() will compare string lexicographically - memcmp() isn't guaranteed to do so. It only cares if n bytes of this is less than, equal to, or greater than n bytes of that.
  2. Replies
    18
    Views
    2,378

    If I adopted this approach I would worry about...

    If I adopted this approach I would worry about becoming complacent with working code, and using it all the time, when a little bit of thinking would have made the control flow completely obvious. And...
Results 1 to 2 of 2