Data File - The Concept of File Modes

The Concept of File Modes

When processing a file, you will typically specify the type of operation you want to perform. The operation is specified using what is referred to as a file mode.The filemode describes how a file is to be used—to read from it, to write to it, to append it, and so on.

stream_object.open ("filename", (filemode) );

The following table lists the filemodes available and their meaning:

Read more about this topic:  Data File

Famous quotes containing the words concept, file and/or modes:

    Revolution as an ideal concept always preserves the essential content of the original thought: sudden and lasting betterment.
    Johan Huizinga (1872–1945)

    I have been a soreheaded occupant of a file drawer labeled “Science Fiction” ... and I would like out, particularly since so many serious critics regularly mistake the drawer for a urinal.
    Kurt Vonnegut, Jr. (b. 1922)

    The essence of belief is the establishment of a habit; and different beliefs are distinguished by the different modes of action to which they give rise.
    Charles Sanders Peirce (1839–1914)