您的位置:首页 英语工具 英汉词典 fgets是什么意思
功能简介
根据单词,查询中文翻译、例句和语法等。

fgets

英式:[fdˈʒets]
美式:[fdˈʒets]

C语言中从文件中获取字符串函数

The fgets() function returns a line from an open file. 函数的作用是:从文件指针中读取一行。

The fgets() function is used to read a single line from a file. 函数用来读取文件中的一行内容。

Timed_out (bool) - TRUE if the stream timed out while waiting for data on the last call to fread() or fgets(). timed_out(bool)-如果在上次调用fread()或者fgets()中等待数据时流超时了则为TRUE。

The fgets() function stops returning on a new line, at the specified length, or at EOF, whichever comes first. 函数可以对是否输出新的一行词段作出设置,具体见下面的语法;当到达文档段落末尾[EOF]时,该函数将停止运行。

fgets( file_name_mktemp, FILEPATH_MAXc语言, stdin); "请输入临时文件名:");

上一条:fputs
下一条:fread
关于我们 | 联系我们 | 商务合作 | 服务条款 | 免责声明 | 网站地图 | 找回密码
Copyright @ 2020-2024 中小学英语网 专业的中小学英语学习平台 版权所有