Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete some part of my output after printing all output 1

Status
Not open for further replies.

baharengineer

Programmer
Jul 9, 2010
42
IR
my out put are 10 page

when i run program print 10 page one after one but when this work finish, i can see only page 6-10 and some part of page5

i think my output don't have enough space for stay at..

and some part of output is delete...

how can i have all of output page?

 
If you're on Windows, right-click on the Command Prompt in the task bar, and you can set the horizontal and vertical buffers (it's under the Layout tab). Alternatively, if your program just prints to the screen, run "myprog.exe > output.txt" in the Command Prompt, which will print the output to a file, which you can then read whenever you want.

--------------------------------------
Background: Chemical engineer, familiar mostly with MATLAB, but now branching out into real programming.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top