原创 c文件操作

  一、一般方法 打開文件fopen 得到文件大小:fseek(fp,0,SEEK_END) int size=ftell(fp); 爲buff申請空間:buff=(char*)malloc((file_size+1)*sizeof(cha