Date: 2018.9.20
1、参考
http://www.cplusplus.com/reference/cstdio/fprintf/
http://www.cplusplus.com/reference/cstdio/fwrite/
2、 fprintf
关于fprintf的使用可以参考:https://blog.youkuaiyun.com/SoaringLee_fighting/article/details/78816023
3、fread
作用:从一个文件流中读取数据。
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).