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:

    Every new concept first comes to the mind in a judgment.
    Charles Sanders Peirce (1839–1914)

    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)

    my brain
    Worked with a dim and undetermined sense
    Of unknown modes of being; o’er my thoughts
    There hung a darkness, call it solitude
    Or blank desertion.
    William Wordsworth (1770–1850)