C++ 实现strcmp
实现strcmp函数,不使用任何的字符串库#include <iostream>#include <cassert>#include <cstring>using namespace std;int _strcmp(const char* s1, const char* s2) { assert(s1 != NULL && s2 != NULL); while (*s1 !=