level 1
#include"stdio.h"
main(){
FILE *fp;
int i;
char str[19];
fp=fopen("a.txt","r+");
fseek(fp,-19L,SEEK_END);
fgets(str,20,fp);
fclose(fp);
fp=fopen("b.txt","w+");
for(i=1;i<20;i++)
fwrite(&str[i-1],sizeof(char),1,fp);
fclose(fp);
}
2013年06月19日 16点06分