first function of stl

This commit is contained in:
shockrahwow committed 2019-01-23 01:11:20 -08:00
1 parent de036ce327
commit 39c96dd3c0
1 file changed
+8
+8
View File
@@ -0,0 +1,8 @@
// our own stuff for stl utilities
unsigned strlen(const char* str) {
unsigned idx = 0;
while(str[idx])
idx++;
return idx;
}