错误是:
D:\C++\Noname4.cpp(11) : error C2660: 'match' : function does not take 2 parameters
D:\C++\Noname4.cpp(20) : error C2061: syntax error : identifier 'c'
 
#include <stdio.h>
int count;
int main()
{
    char s[80],ch,* p, * match();
    gets(s);
    ch=getchar();
    p=match(ch,s);
    if(p)
    printf("%s%d\n",p,(count+1));
    else 
        printf("no match found\n");
    return 0;
}
 char * match(c,s)
 {     
   char c, * s;
   count = 0;
   while (c!=s[count]&&s[count]!='\0')
       count++;
   if (s[count])
       return(&s[count]);
   return (0);
 }