Write a loop that will read from the current position in a file up to the end of the current line, and send this output to the screen. You may assume that any variables you need are declared, including file variables, and that any needed files have been successfully opened.
What will be an ideal response?
Assuming files are already opened, and this is embedded in a correct program, this
will read up to the end of the current line and display this on the screen:
```
while( '\n'!= (ch = in.get()) )
cout << ch;
```
Computer Science & Information Technology
You might also like to view...
A 9-pin serial interface connector.
What will be an ideal response?
Computer Science & Information Technology
The point at which two colors in a gradient meet is called what?
A. the color stop B. the starting color C. the ending color D. the midpoint
Computer Science & Information Technology