Which of the following would correctly read an entire line from an input file stream named fin into a string variable named line.

a. getline(fin, line);
b. fin.getline(line);
c. fin.getline(line,'\n\');
d. fin.getline(line,80);


a. getline(fin, line);

Computer Science & Information Technology

You might also like to view...

In centralized data collection, data from sensors go to security managers at each corporate office.

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

Computer Science & Information Technology

A Web site can access the native features and systems of a mobile device.

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

Computer Science & Information Technology

The ____ toolbar appears in the work area after you drag the pointer over text while holding down the left mouse button.

A. Maxi B. Mini C. Contextual D. Shortcut

Computer Science & Information Technology

Unless paper is designated as ____, its expected useful life is less than 50 years.

a. ultraviolet b. archival quality c. acid-free d. permanent

Computer Science & Information Technology