输入单个字符的
FILE *fp;int c;while(1){ c = getchar(); if(c == EOF) break; fp = fopen("out.txt", "w"); fprintf(fp, "%c", c); fclose(fp);}
新版被推荐后无法追答,请勿追问