阅读背景:

右箭头符号导致fread的突然结束?

来源:互联网 

I am attempting to write a bittorrent client. In order to parse the file etc. I need to read a torrent file into memory. I have noticed that fread is not reading the entire file into my buffer. After further investigation it appears that whenever the symbol shown below is encountered in the file, fread stops reading the file. Calling the feof function on the FILE* pointer returns 16 indicating that the end of file has been reached. This occurs no matter where the symbol is placed. Can somebody explain why this happens and any solutions that may work.I am attempting to write a bittorrent client. I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: