bool mystrcmp(const char *a, const char *b) {
while (*a == *b) {
if (*a++ == '\0') return true;
b++;
}
return *a == *b;
}
5 月
04
2012
04
2012
string compare strcmp implementation
尚無留言 »
RSS feed for comments on this post. TrackBack URL
