随笔分类 -  Operation System

摘要:[抄题]: 接口:int read4(char * buf)一次从文件中读取 4 个字符。返回值是实际读取的字符数。 例如,如果文件中只剩下 3 个字符,则返回 3。通过使用read4 接口,实现从文件读取 n 个字符的函数int read(char * buf,int n)。 [暴力解法]: 时间 阅读全文
posted @ 2018-02-14 10:14 苗妙苗 阅读(270) 评论(0) 推荐(0)