If you're unfamiliar with it, fscanf reads field data into variables from a file.
如果您不熟悉它,则fscanf将把字段数据从文件读入变量中。
The fgets, fgetss, fread, fscanf, and fclose functions also return False on error.
fscanf 和 fclose 函数在出错时也返回 False。
The fscanf function parses the input from an open file according to the specified format.
fscanf函数的作用是:从文件中按照指定的格式输入。
应用推荐