Assume you have opened and connected stream variables fileIn and fileOut. Assume further that you have finished with the input and output files. Write the statements necessary to close these files.

What will be an ideal response?


The calls to close are written:
```
fileIn.close();
fileOut.close();
```

Computer Science & Information Technology

You might also like to view...

Use the minmax_element algorithm to find the smallest and largest values in the array of doubles named temperatures. Store the pair of iterators that’s returned in result.

What will be an ideal response?

Computer Science & Information Technology

What is a vector-based image? How does it differ from a bitmapped image? When is it better to use a vector-based image?

What will be an ideal response?

Computer Science & Information Technology

When parentheses are nested, which set of parentheses is evaluated first in an arithmetic expression?_______.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Write a program that inputs a line of text with istream member function getline (as in Chapter 15) into character array s[100]. Output the line in uppercase letters and lowercase letters.

What will be an ideal response?

Computer Science & Information Technology