Description:
static const char* _strstr(const char* s1, const char* s2)
{
assert(s2 && s1)
const char* p=s1,*r=s2
while(*p!= \0 )
{
while(*p++==*r++)
if(*r== \0 )
return p
else
{
r=s2
p=++s1
}
}
return NULL
}
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
CString | int | string | char之间的转换.txt |