12 lines
149 B
C++
12 lines
149 B
C++
#include <cstring>
|
|
|
|
namespace std {
|
|
|
|
size_t strlen(const char *str) {
|
|
size_t len = 0;
|
|
while (str[len])
|
|
++len;
|
|
return len;
|
|
}
|
|
|
|
}
|