// 得到某字符串中的某字符串的个数
int findstrnum(const char* old_str, const char* find_str)
{
const char* p;
int num = 0;
while (1)
{
p = strstr(old_str, find_str);
printf("%s\n", p);
while (p != NULL)
{
num++;
p = p + strlen(find_str);
p = strstr(p, find_str);
}
break;
}
return num;
}