All serious programs write and read from the disk.Word processors are used to make documents,database management software make and maintain databases.Therefore file handling is of great importance to any programming language the same applies to C++
A few programs that show the use of files are given below:
- Program to write onto a file,
- Program to read from a file onto console,
- Program to perform file output with characters,
- Program to perform file input with characters,
- Program to write an object onto disk ,
- Program to read objects from disk,
- Program to read and write multiple objects onto disk,
- Program to create a record of students and their marks using files.
Click >>>HERE<<< for a detailed tutorial on Files.
|