{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

img037 - xviii CONTENTS 8 INPUT AND OUTPUT 8.1 8.2 8.3 8.4...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: xviii CONTENTS 8 INPUT AND OUTPUT 8.1 8.2 8.3 8.4 8.5 8.6 8.7 8.8 Opening and Closing Files Character Input/Output fgetc,getc,getchar fputc,putc,putchar Sample Application: Determining a Source File’s Size in Bytes String Input/Output fgets,gets fputs,puts Formatted Input/Output scanf,fscanf,sscanf printf,fprintf,sprintf Character Conversion and Character Testing Functions Unformatted Input/Output fwrite fread Moving Around in a File: fseek, fte11, rewind Sample Application: A Random Access File Q Common Programming Errors Programming Exercises STRUCTURES, UNIONS, AND ENUMERATED TYPES 9.1 9.2 9.3 9.4 9.5 Introduction to Structures Sample Application: Pattern Recognition The typedef Construct typedef and Code Portability typedef and Structures Operations on Structures Initializing Members of Structures The Assignment Operator Applied to Structure Variables Pointers to Structures, Nested Structures, and Self—referential Structures Pointers to Structures Nested Structures Self—referential Structures ...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online