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) the get( ) member function fetches a character from the input file without regard to whether it is whitespace.
Explanation: 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.

Computer Science & Information Technology

You might also like to view...

When you want to modify text in an image, you can simply select the type layer, select the Horizontal Type tool, and then make changes using the options bar.

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

Computer Science & Information Technology

An integrity ____________________ is a rule for the data in the database.

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

Computer Science & Information Technology