Answer the following statements true (T) or false (F)
1. An alternative to using the open member function is to use the file stream object declaration itself to open the file.
2. File output may be formatted the same way as screen output.
3. The read and write member functions of fstream objects can only work with buffers specified by pointers to char.
4. string objects cannot be stored to a binary file without further processing because they contain pointers.
5. Opening a file with the flags ios::in | ios::out will preserve the contents of the file if the file already exists.
1. TRUE
2. TRUE
3. TRUE
4. TRUE
5. FALSE
You might also like to view...
How many times will PETE be displayed when the following lines are executed?
For c As Integer = 15 to -4 Step -6 lstBox.Items.Add("PETE") Next (A) 1 (B) 2 (C) 3 (D) 4
Within a processor, the ________ loads instructions into high-speed memory (i.e., instruction registers), the ________ interprets the instructions and the ________ performs basic arithmetic and logical operations.
a) arithmetic and logic unit, instruction fetch unit, instruction decode unit b) instruction fetch unit, arithmetic and logic unit, instruction decode unit c) arithmetic and logic unit, instruction decode unit, instruction fetch unit d) instruction fetch unit, instruction decode unit, arithmetic and logic unit
Taken together, all the data fields form a single unit that is referred to as a(n) ____.
A. record B. union C. tuple D. array
You change to point the new intranet website to friendly name instead of an IP address. You do not want to wait for the change to replicate across the network. Which of the following commands should you use?
A. ipconfig /all B. ipconfig /release C. ipconfig /? D. ipconfig /flushdns