Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I have a program challenge for homework that asks the user for the name of a fil

ID: 3535704 • Letter: I

Question

I have a program challenge for homework that asks the user for the name of a file. The program should display the contents of the file on the screen. If the files contents wont fit on a single screen, the program should display 24 lines of output at a time, and then pause. Each time the program pauses, it should wait for the user to strike a key before the next 24 lines are displayed.

The function expects a declaration and I have a feeling something else is wrong that I can't see. Any help is greatly appreciated.



This what i have thus far:


Explanation / Answer

Check this link
http://www.cplusplus.com/forum/general/85395/
It might help.

Please do not rate 1 or 2 star.....i know i am not solving ur problem....i just thought it could help.