strstr1 strstr char *strstr(const char *s1, const char *s2) char *strstr(const char *s1, const char *s2) { size_t n = strlen(s2); while(*s1) if(!memcmp(s1++,s2,n)) return s1-1; return 0; } 2016. 7. 9. 이전 1 다음