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...
DCOM is a method for sharing objects on a local computer that uses COM as its foundation
Indicate whether the statement is true or false.
Computer Science & Information Technology
This is used to used to make a broadband network (also called cable broadband) connection from your home network to the ISP using your cable connection.
What will be an ideal response?
Computer Science & Information Technology