DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
iostream examples

Creating streams

The examples so far have used the predefined streams, cin and cout. For some programs, reading from standard input and writing to standard output suffices. But other programs need to create streams with alternate sources and sinks for characters. This subtopic discusses the various kinds of streams that are available in the iostream library.


Next topic: Files
Previous topic: Binary input

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005