记录两篇读写文件的文章: C: https://www.cnblogs.com/xiajun/archive/2010/08/14/2282881.html C++: https://blog.csdn.net/weixin_42587961/article/details/86677869