#include int main(){ FILE *fp; char ch; int count=0; fp = fopen("letter.txt", "r"); while((ch=fgetc(fp)) != EOF){ if(ch == 'c'){ count++; } } printf("c¸öÊýΪ:%d\n", count); return 0; }