home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / cplus / 16744 < prev    next >
Encoding:
Text File  |  1992-11-22  |  1.3 KB  |  31 lines

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