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:

    Jesus abolished the very concept of “guilt”Mhe denied any cleavage between God and man. He lived this unity of God and man as his “glad tidings” ... and not as a prerogative!
    Friedrich Nietzsche (1844–1900)

    A common and natural result of an undue respect for law is, that you may see a file of soldiers, colonel, captain, corporal, privates, powder-monkeys, and all, marching in admirable order over hill and dale to the wars, against their wills, ay, against their common sense and consciences, which makes it very steep marching indeed, and produces a palpitation of the heart.
    Henry David Thoreau (1817–1862)

    Sight and all the other senses are only modes of touch.
    Samuel Butler (1835–1902)