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:

    I was thinking what an interesting concept it is to eliminate the writer from the artistic process. If we can just get rid of these actors and directors, maybe we got something here.
    Michael Tolkin, U.S. screenwriter, and Robert Altman. Griffin Mill (Tim Robbins)

    Probably nothing in the experience of the rank and file of workers causes more bitterness and envy than the realization which comes sooner or later to many of them that they are “stuck” and can go no further.
    Mary Barnett Gilson (1877–?)

    Without any extraordinary effort of genius, I have discovered that nature was the same three thousand years ago as at present; that men were but men then as well as now; that modes and customs vary often, but that human nature is always the same. And I can no more suppose, that men were better, braver, or wiser, fifteen hundred or three thousand years ago, than I can suppose that the animals or vegetables were better than they are now.
    Philip Dormer Stanhope, 4th Earl Chesterfield (1694–1773)