home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!munnari.oz.au!metro!seagoon.newcastle.edu.au!firebird!pbray
- From: pbray@firebird.newcastle.edu.au (Peter Bray)
- Subject: Binary File Streams (iostream derived)
- Message-ID: <pbray.722479093@firebird>
- Summary: Question regarding a "binary" mode for fstreams
- Keywords: Binary Streams
- Sender: news@seagoon.newcastle.edu.au
- Organization: Application Specific Computer Design, The University of Newcastle
- Date: Mon, 23 Nov 1992 00:38:13 GMT
- Lines: 18
-
-
- Having just finished looking thru two book and the AT&T C++ v3.01
- manual pages, I was wondering if there was a simple interface to binary file
- streams, or whether one must open the file as usual and just use the
-
- ostream& write( const unsigned char* ptr, int n )
-
- interface and develop member I/O functions (wrappers), for each class for which
- one desires binary I/O.
-
- Peter
-
- ------------------------------------------------------------------------------
- Peter Bray: Application Specific Computer Design Phone : (049) 21 5963
- Dept. Electrical & Computer Engineering Fax : (049) 60 1712
- University of Newcastle Email : InterNet/AARNet
- Callaghan NSW 2308 AUSTRALIA pbray@ascod.newcastle.edu.au
- ------------------------------------------------------------------------------
-