Well, today we will learn about a few terms related to File Handling in C++.
Stream :- A sequence of bytes
File: A collection of data or information stored on some media with some specific name is called file.
Text File :- The file which stores data or information in ASCII characters. In text file each line is terminated with a special character “n” or endl (end of line) character also known as delimiter character.
Binary File :- It is a file that contains information in the same format as it is stored in the memory. In binary file no delimiter character is used. The records are separated by record size.