C语言如何读取文件中的内容?一直读到结尾,每次读5个字(包括标点符号...答:FILE * fp;unsigned short buf[5];int i;if ((fp = fopen("xxxx","r")) == NULL)exit(1);while (!feof(fp)){ fread(buf, sizeof(unsigned short) * 5, fp);printf(%d,%d,%d,%d,%d\n", buf[0], buf[1], buf[2], buf[3], buf[4]);} fclose(fp);...