![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The analog to getchar
for reading a character directly from a file is
fgetc
, an acronym for file get character:
fgetc(file-pointer name)
The analog of putchar
for writing a character directly into a
file is fputc
, an acronym for file put
character:
fputc(file-pointer name)