fscanf函数的用法介绍
- 学习教育
- 关注:1.17W次
1、fscanf函数的用法:int fscanf(FILE*stream,char*format,[argument...])。
2、解析:int fscanf(文件指针,格式字符串,输入列表)。
3、返回值: 类型是整型,成功读入的参数的个数。
4、新建data.txt文件,存入3组坐标,运行程序并输出结果。
- 文章版权属于文章作者所有,转载请注明 https://dongkepu.com/xuexijiaoyu/m95pxe.html