Nidhogg

Untitled

Jun 18th, 2012
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.16 KB | None | 0 0
  1. bool cmp(char string1[100], char string2[100], int length)
  2. {
  3.     int i=0;
  4.     while(string1[i] != string2[i] && i<length) i++;
  5.     return (string1[i] <string2[i]);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment