-4
是我在编写我的程序来获取mp3文件的写入内容并写入anenter代码的其他文件时应该考虑的任何事情?因为我越来越错误!在c编程linux中读写mp3二进制文件
这是我在C
FILE *fout;
fout = fopen("step.MP3","rb");
while (!feof(fout))
{
fread(data,counter + 1,1,fout);
}
fclose(fout);
FILE *fo;
fo = fopen("step.MP3", "wb");
fwrite(test,1,fileSize,fo);
fclose(fo);
https://stackoverflow.com/help/mcve https://stackoverflow.com/help/how-to-ask这里有一些东西这是能够解决你的问题http://lame.sourceforge.net/index.php – Skynet
'while(!feof(fout))'?不就是不。请参阅[为什么“while(!feof(file))”总是错误?](http://stackoverflow.com/questions/5431941/why-is-while-feof-file-always-wrong) –