From a88d408f5e9b70170e8d92b4de28986c9e5dbc20 Mon Sep 17 00:00:00 2001 From: bkoz Date: Mon, 11 Feb 2013 23:24:26 +0000 Subject: 2013-02-11 Benjamin Kosnik * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195959 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/doc/html/manual/fstreams.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'libstdc++-v3/doc/html/manual/fstreams.html') diff --git a/libstdc++-v3/doc/html/manual/fstreams.html b/libstdc++-v3/doc/html/manual/fstreams.html index 7379ea0fb38..85d138546c3 100644 --- a/libstdc++-v3/doc/html/manual/fstreams.html +++ b/libstdc++-v3/doc/html/manual/fstreams.html @@ -1,9 +1,8 @@ - -File Based Streams

File Based Streams

Copying a File

So you want to copy a file quickly and easily, and most important, completely portably. And since this is C++, you have an open ifstream (call it IN) and an open ofstream (call it OUT): @@ -49,7 +48,7 @@ The operators shown above are all defined in the parent basic_ostream class and are therefore available with all possible descendants. -

Binary Input and Output

+

Binary Input and Output

The first and most important thing to remember about binary I/O is that opening a file with ios::binary is not, repeat not, the only thing you have to do. It is not a silver @@ -87,7 +86,7 @@ of formatting functions and classes to perform something which requires that formatting not be done? There are a seemingly infinite number of solutions, and a few are listed here: -

  • Derive your own fstream-type classes and write your own +

    • Derive your own fstream-type classes and write your own <</>> operators to do binary I/O on whatever data types you're using.

      @@ -147,4 +146,4 @@ between arbitrary programs, or across a network, or from one invocation of a program to another invocation of the same program on a different platform, etc. -

+

\ No newline at end of file -- cgit v1.2.3