Unformatted text preview: e. ofstream ost.open(“input.txt”); 11. An ostream a. Turns values of various types into character sequences b. Turns character sequences into values of various types c. Unlike an istream, an ostream does not use buffers, since it is bringing bytes directly into the computer there is no reason to waste the time of storing them into a buffer first. d. Sends characters somewhere, such as a console, a file, the main memory, or another computer. e. Both (a) and (d) are true 12. What is printed by cout << 123456 << “\n” << setw(4) << 123456; a. 123456 1234 b. 123456 3456 c. 123456 <Too Big> d. 123456 setw( ) will adjust the spacing for output smaller than the specified width 123456...
View Full Document
- Fall '09
- Walter Daugherity
- Week-day names, buffer solution