File Handling in C



NoTopic
17.1Introduction to File Handling in C Programming
17.2Type of Streams | FILE structure and FILE pointer
17.3Types of Files : Text | Binary
17.4Opening and Defining FILE
17.5File Operations : Open a File | File Opening Modes
17.6File Operations : Close a File | End of File (feof / EOF)
17.7Character Input/Output : Getc | Fgetc
17.8Character Input/Output : Putc | Fputc
17.9Character Input/Output : Fgets | Fputs
17.10Formatted Input/Output : Fprintf | fscanf
17.11Direct Input/Output : Fwrite | Fread
17.12Random Access : Ftell | Rewind | Fseek
17.13Error Handling : Possible Ways
17.14Database Operation : Add Record | Display Record
17.15Database Operation : Modify Record | Append Record
17.16Database Operation : Delete Logically | Physically
17.17File Operation Functions : fflush | rename | remove