answersLogoWhite

0

in order it was written.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the term used to describe a file that data is read from?

It is known as an open file. Files can be opened for reading or writing, or both.


To read data which is superior 1. input stream 2. file reader?

First of all, these two classes are on different levels of abstraction. An InputStream is used for reading any stream of bytes, while a FileReader is used to read characters from a file. If you want to ask between a FileInputStream and a FileReader, then we need to look at what type of data you are reading. If you're reading plain-text file, for example, you want to use a FileReader because it was designed to read in characters. For other types of data, the FileInputStream would be better, as it is used to read in generic streams of bytes from a file.


What are the techniques of file processing?

The common techniques of file processing include sequential access, random access, and direct access. Sequential access involves reading data sequentially from the beginning to the end of a file. Random access allows reading data from any part of the file without having to read the preceding data. Direct access uses a key or address to locate specific data within the file.


What step is data either written to the file or read from the file?

Insertion is the process of writing data to a file. Extraction is the process of reading data from a file. More generally we use the terms output and inputrespectively. However, the output of one process can often be used as the input for another. Therefore the terms must be applied within the context of the objects being read from or written to.


What is meant by read and write txt in file handling?

read: moving data from file to memory write: moving data from memory to file


What happens when an input operation attempts to read data but there is no data to read?

error reading


What refers to reading and writing data consecutively?

Reading and writing data consecutively refers to the process of sequentially accessing data stored in a computer's memory or on a storage device. This means that data is accessed in a specific order, with each piece of data being accessed immediately after the previous one. For example, when reading a file sequentially, the computer would start at the beginning of the file and read each block of data in order until it reaches the end of the file. Similarly, when writing data consecutively, each new piece of data is written immediately after the previous one in a continuous stream. Sequential access is often used when dealing with large amounts of data that are stored in a specific order, such as in a database or in a file format optimized for sequential access. By accessing data in this way, it can be read or written more efficiently and with less overhead compared to randomly accessing individual pieces of data.


What is file mode in c plus plus?

There are 6 main types of file opening mode:* "r". Open file for reading and file must exist; * "w" Open file for writing. If file does not exist it is created or if life already exist it's content is erased. * "a" Open file for appending. It adds all information at the end of the file leaving old data untouched. If file does not exist it is created. * "r+" Open file for reading and writing and file must exist. * "w+" Open file for writing and reading. If file does not exist it is created or if life already exist it's content is erased. * "a+" Open file for appending and reading. Again all new data is written at the end of the file old data leaving untouched. If file does not exist it is created. (You can read old data by moving pointer in file using fseek or rewind functions from stdio.h. But all writing operations will be done at the end of the file no matter how you change pointer) It is assumed by default that file will be standard ASCII text file in order to open file as binary file, you need to add "b" indicator:FILE *myFile = fopen("myfile.txt", "wb");/ * following two has identical meaning */FILE *myFile = fopen("myfile.txt", "w+b");FILE *myFile = fopen("myfile.txt", "wb+");


When you copy data from a file on a storage device into RAM you?

read to the file


What is function of End-of-file?

It means 'no more data to read in this file'.


Which type of data file access allows access to any piece of data in the file without reading the data that comes before it?

Direct access. AS


Why would you need to convert a string to a numeric data type?

For example, to interpret user input; to read data from a text file or from some other program that produces the data as a string.For example, to interpret user input; to read data from a text file or from some other program that produces the data as a string.For example, to interpret user input; to read data from a text file or from some other program that produces the data as a string.For example, to interpret user input; to read data from a text file or from some other program that produces the data as a string.