The _______ member function takes a single char value from the input file, without regard to whether it is whitespace.
a) newLine
b) get
c) put
d) getline
e) putline
b) a) is a function defined in the text to dump the rest of any input left on an input line (file or keyboard). c) put() writes the char argument out to the device (file or screen) connected to the stream. d) getline() comes in several versions. In the iostream and fstream member version, calling object is a stream. The function takes two or three arguments. The first is a C-string, the second is a number of characters to be fetched +1 for the null terminator, and the third is a “stop fetching when encountered” characters. e) is specious. There is no putline function. The standalone version takes two or three arguments. The first is an istream variable, the second is library string variable, the optional third argument is a “stop fetching when encountered” character.
You might also like to view...
A __________ is when two sides cooperate to exchange a session key.
Fill in the blank(s) with the appropriate word(s).
What would happen if, in the Coordinates program, we did not provide empty definitions for one or more of the unused mouse events?
What will be an ideal response?