diff options
Diffstat (limited to 'euler/source/strings/strlen.cpp')
-rw-r--r-- | euler/source/strings/strlen.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/euler/source/strings/strlen.cpp b/euler/source/strings/strlen.cpp deleted file mode 100644 index 7a6fe2a..0000000 --- a/euler/source/strings/strlen.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include <cstring> - -namespace std { - - size_t strlen(const char *str) { - size_t len = 0; - while (str[len]) - ++len; - return len; - } - -} |