cy语言fgetpos_C语言中的fgetpos()函数与示例

本文介绍了C语言中的fgetpos()函数,用于获取输入文件流的位置。该函数原型为int fgetpos(FILE* filename, fpos_t *position),返回文件指示器的当前位置。使用fgetpos()可以方便地保存和恢复文件读取位置。" 127447091,11160198,Revit连接消火栓与快速设备连接教程,"['Revit', 'BIM', '建模工具', '设备连接', '机电工程']
摘要由CSDN通过智能技术生成

cy语言fgetpos

C中的fgetpos()函数 (fgetpos() function in C)

Prototype:

原型:

    int fgetpos(FILE* filename, fpos_t *position);

Parameters:

参数:

    FILE* filename, fpos_t *position,

Return type: int (the current position of the file indicator pointer)

返回类型: int(文件指示器指针的当前位置)

Use of function:

使用功能:

In file handling, through the fgetpos() function we get the current position of the input file stream indicator. Whenever we need the file indicator position in the file, we need to use the function fgetpos(). The prototype of the fgetpos() function is: <

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值