home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / clesson / c.dir / 00297_f7.pcx.png < prev    next >
Portable Network Graphic  |  1995-04-05  |  9.4 KB  |  472x217  |  4-bit (6 colors)
   ocr: The macro getc()reads a character from the file pointed to by ifp and assigns the value to C.Ifthe value ofcis not EOF, then putc() is used to write C into the file pointed to by ofp.Ifcis a newline character, another newline character is Written process continues repeatedly until an IEOF is encountered. The macro getc() and putco) are definedin stdio.h.