home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13434 < prev    next >
Encoding:
Text File  |  1992-09-09  |  2.1 KB  |  55 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!taumet!steve
  3. From: steve@taumet.com (Steve Clamage)
  4. Subject: Re: I/O streams in ANSI definition?
  5. Message-ID: <1992Sep9.163629.27855@taumet.com>
  6. Organization: TauMetric Corporation
  7. References: <d9patrik.715968231@dtek.chalmers.se>
  8. Date: Wed, 9 Sep 1992 16:36:29 GMT
  9. Lines: 44
  10.  
  11. d9patrik@dtek.chalmers.se (Patrik Larking) writes:
  12.  
  13. >I have a few questions about to the c++ I/O streams.
  14.  
  15. >Are they included in the ANSI definition of the c++ language?
  16.  
  17. They will (almost certainly) be part of the Standard when it is complete.
  18.  
  19. >Are they a part of the 3.0 definition or is there a separate definition?
  20.  
  21. Most, if not all, modern C++ implementations include some version of
  22. iostreams.
  23.  
  24. >Are binary files included (ios::binary)?
  25.  
  26. It depends on the particular version of iostreams.  Current versions
  27. of iostreams for Unix usually do not support "binary" (because there
  28. is no difference in Unix between text and binary files).  In the future,
  29. probably all versions will support a "binary" flag, although the
  30. spelling is not certain.  (It might be "ios::bin".)
  31.  
  32. >I currently own the C++ Primer by Lippman and The Annotaded reference manual.
  33. >Neither of theese treat the I/O stream fully and I don`t want to bye a complte
  34. >new book! 
  35. > Are there any seperate publications witch only treat the I/O library.
  36.  
  37. You can order the C++ library manual from AT&T (or maybe USL) which
  38. describes the original AT&T implementaion of iostreams in detail.
  39. You will have to get ordering information from someone else.
  40.  
  41. >Can I require the ANSI documents direct whole c++ definition or partly (I/O 
  42. >library only)?
  43.  
  44. The ANSI/ISO C++ committee has not completed work on the iostream
  45. definition.  When complete, it will specify a minimum functionality
  46. which all Standard implementations will have to provide.  It will
  47. not be ideal as a reference, except for knowing what you can depend
  48. on for a maximally portable program (among Standard implementations).
  49. You will still want complete documentation from your compiler vendor,
  50. because many details will be left up to the implementation.
  51. -- 
  52.  
  53. Steve Clamage, TauMetric Corp, steve@taumet.com
  54. Vice Chair, ANSI C++ Committee, X3J16
  55.