本文共 586 字,大约阅读时间需要 1 分钟。
http://www.cplusplus.com/reference/cstdio/fprintf/
http://www.cplusplus.com/reference/cstdio/fwrite/关于fprintf的使用可以参考:https://blog.csdn.net/SoaringLee_fighting/article/details/78816023
作用:从一个文件流中读取数据。
Read block of data from stream Reads an array of count elements, each one with a size of size bytes, from the stream and stores them in the block of memory specified by ptr. The position indicator of the stream is advanced by the total amount of bytes read. The total amount of bytes read if successful is (size*count).size_t fread(void *buffer