fscanf 函数用于从文件中读取格式化数据。
语法:
fscanf(fid, format, size)其中:
* fid:文件标识符。
* format:指定数据的格式。
* size:读取数据的尺寸。