Answer the following statements true (T) or false (F)

1. An output file is a file that data is written to.
2. It is possible to define a file stream object and open a file in one statement.
3. In C++ 11 you can pass a string object as an argument to a file stream object's open member function.
4. string objects have a member function named c_str that returns the contents of the object formatted as a null-terminated C-string.


1. T
2. T
3. T
4. T

Computer Science & Information Technology

You might also like to view...

If you wanted to find the youngest person in your table you would use the ________ function in a calculated field

Fill in the blank(s) with correct word

Computer Science & Information Technology

Brute force attacks are often successful against systems that have adopted the usual security practices recommended by manufacturers.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

While using VMware Workstation 12 Pro, you notice that virtual machine performance is starting to slow. Upon further investigation, you discover that the virtual machines are causing paging on the host, despite plenty of RAM being available. What should you do to improve performance?

A. Disable the host's page file. B. Use the "Fit all virtual machine memory into reserved host RAM" option. C. Increase the amount of RAM available to the guest VM. D. Disable the page file in the guest OS.

Computer Science & Information Technology

A potential misspelled word is underlined with a ________ wavy line.

A. yellow B. green C. blue D. red

Computer Science & Information Technology