2017年9月13日星期三

文件读取指针偏移 seek()

文件读取时改变文件读取指针的位置
seek(len_of_character,0) 0表示从文件开头开始,len_of_character表示需要移动的字节数

当0的位置变为1,表示相对于当前位置,目前感觉并不好用

没有评论:

发表评论

leetcode 17

17.   Letter Combinations of a Phone Number Medium Given a string containing digits from   2-9   inclusive, return all possible l...