This commit is contained in:
hairrrrr
2020-02-08 16:12:52 +08:00
parent eef73f584c
commit 3b863ab573
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
int mystrcmp(char* str1, char* str2) {
while (*str1 == *str2 && *str1)
++str1, ++str2;
return (*str1 - *str2);
}