first function of stl
This commit is contained in:
parent
de036ce327
commit
39c96dd3c0
8
stl/string.h
Normal file
8
stl/string.h
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user