search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
29 views
asked Expert 15k points 15 23 30

1 Answer

0 votes
Streams can be classified into two types: text streams and binary streams. Text streams are interpreted, with a maximum length of 255 characters. With text streams, carriage return/line feed combinations are translated to the newline n character and vice versa. Binary streams are uninterrupted and are treated one byte at a time with no translation of characters. Typically, a text stream would be used for reading and writing standard text files, printing output to the screen or printer, or receiving input from the keyboard. A binary text stream would typically be used for reading and writing binary files such as graphics or word processing documents, reading mouse input, or reading and writing to the modem.
answered Geek 15.3k points 16 41 63

Related questions

0 votes
1 answer 31 views
0 votes
1 answer 17 views
17 views
asked keem Expert 13.2k points 27 40 59
0 votes
1 answer 39 views
39 views
asked sunny Expert 11.4k points 14 22 28
0 votes
1 answer 44 views
44 views
asked rock Expert 15k points 15 23 30
0 votes
1 answer 29 views
...