fgetc, fgetchar 的区别
来源:互联网 发布:路由器软件升级好不好 编辑:程序博客网 时间:2024/05/31 19:00
一句话总结:
fgetchar = fgetc(stdin)
以下转载自:http://support.tenasys.com/INtimeHelp_5/fgetc.html
详细说明:
Fgetc reads a single character from the current position of the specified stream and increments the file pointer to the next character; fgetchar reads from stdin.
#include <stdio.h>int fgetc (FILE *stream);int fgetchar (void);
Parameters
stream
- Pointer to FILE structure.
Remarks
fgetchar is equivalent to:
fgetc (stdin)
Fgetc and fgetchar are identical to getc and getchar, but they are functions, not macros.
Return Values
- The integer value of the character read.
- Success.
- EOF on error or end-of-file.
- Since EOF is a legal integer value, use feof or ferror to distinguish between an error and an end-of-file condition.
Requirements
See Also
feof, ferror, fputc, fputchar, getc, getchar
0 0
- fgetc, fgetchar 的区别
- fgetc和getc的区别
- fgetc和getc的区别
- getc和fgetc的区别
- fgetc和getc的区别
- getc与fgetc的区别
- fgetc和getc的区别
- fgetc() 与getc()的区别
- fgetc 与 getc的区别
- fgetc()的示例代码
- fgetc fputc的使用
- fgetc()
- fgetc
- fgetc
- fgetc
- fgetc
- fgets fprintf fscanf fputs fgetc fputc的区别你懂了吗
- C语言中getch、getche、fgetc、getc、getchar、fgets、gets之间的区别
- Word文档的规范格式
- hdu sort
- 给想提高水平的大一学生
- 一个简单的例子理解C++ map, 运用map统计单词出现的次数
- java排序算法之冒泡排序
- fgetc, fgetchar 的区别
- linux驱动例2--带阻塞功能的计时器
- 常小兵相关观点
- openGl画一个简单的立方体
- 给网站加密
- [LeetCode] Reverse Words in a String
- 黑马程序员_集合框架(二)
- Java应用级产品开发平台APDPlat
- update nowait