first function of stl

This commit is contained in:
shockrahwow 2019-01-23 01:11:20 -08:00
parent de036ce327
commit 39c96dd3c0

8
stl/string.h Normal file
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;
}