Tuesday, July 28, 2009

Result of my c program is large.i need a c program to insert page break to view result page by page.?

My c program result was 50 lines. i cant view the starting of my result. i can only view the end . i need a program to view the result page by page.

Result of my c program is large.i need a c program to insert page break to view result page by page.?
See how many lines can fit comfortably on a single page. Then, inside the loop containing code for displaying your result, insert a scanf statement waiting for a keypress before continuing.


This should be done when the loop has printed...say 20 -25 lines of output. Your program will then pause and wait while the user reads the output. After the user presses a key, use a Clear Screen command. The output should now be neat and organized!





Good Luck!
Reply:Just output your results in a text file instead of screen.

umbrella plant

No comments:

Post a Comment