Name
getc macro — Reads a character
Synopsis
int getc(FILE* stream)
The getc
macro reads a
character from stream
and returns
that character as an unsigned
char
. The return value is
EOF
for end-of-file or a read
error.
See Also
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.