streams

Pages: 12
They have nothing in common. A stream is an object that abstracts away the details of some underlying object (console, file, string, etc.) into a common interface so that code can be written more generically. Thus, a function that produces some output can work without modifications regardless of where that output is sent.
Likewise for input.
Topic archived. No new replies allowed.
Pages: 12