2079 8

BIT153 ยท 2079 ยท 5 marks

Define stream. How do you read the text from file? Describe.

Define stream. How do you read the text from file? Describe. [5]

Object Oriented ProgrammingChapter 10: Exception Handling and File I/OText file reading and writing

A stream is an abstraction for a flow of characters between a program and some source or destination of data, such as a file, the keyboard, the screen, or a block of memory. The program deals only with the stream, and the library deals with the device behind it, so the same insertion and extracti...