Answer the following statements true (T) or false (F)
1. We use the dot notation with eof because it is a member function of a class.
2. The following statements are equivalent:
cin.get (ch);
cin >> ch;
3. You do not need prompts when reading from an external file.
4. What will inFile.fail( ) return if the file associated with the stream inFile cannot be opened?
5. A file stream should always be passed as a value parameter.
1. True
2. False
3. True
4. True
5. False
You might also like to view...
A ____ provides a webpage for your email, which you access using a browser.
A. webmail service B. file-sharing site C. content aggregator D. RSS feed
What type of error is often difficult to find, and can occur for many reasons, such as entering instructions in the incorrect order?
A. logic B. stream C. syntax D. manipulator