First you write the contents of the mydata list to the file, then you reposition the file pointer to the start of the file and read the contents.
首先,把mydata list的内容写入文件,然后把文件指针重新定位到文件开头,并读入内容。
In this code, you start by declaring a file pointer to standard input so that you can get interactive information from the keyboard during the spell-check process.
在这段代码中,您首先要为标准输入声明一个文件指针,以便您能够在拼写检查过程中从键盘获得交互式信息。
The rewind function "rewinds" the position of the file pointer to the beginning of the file.
函数的作用是:将文件指针的位置倒回到文件的开头。
The rewind function "rewinds" the position of the file pointer to the beginning of the file.
函数的作用是:将文件指针的位置倒回到文件的开头。
应用推荐