qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
getc, getchar
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The getc routine reads a single character from the <stream>
     position and increments the associated file pointer (if there
     is one) to point to the next character. The getchar routine is
     identical to getc( stdin ).
 
     The getc and getchar routines are similar to fgetc and fgetchar,
     respectively, but are macros rather than functions.
 
     Return Value
 
     The getc and getchar routines return the character read. A return
     value of EOF indicates an error or end-of-file condition. Use
     ferror or feof to determine whether an error or end-of-file
     occurred.
                                    -♦-