Click to See Complete Forum and Search --> : Output Too Quick
VisiFinish
January 19th, 2002, 02:10 PM
Hi,
I have this program which is outputing to an MS-DOS prompt.
There are pages of output and I need to read the ouput right at the beginning.
Thus, is it possible to get the output to pause at the end of each page or is there a way of making 'printf' automatically ouput to a file?
Thanks,
VF
anavlepo
January 19th, 2002, 09:12 PM
pipe it to more
eg
dostuff | more
earthharp
January 20th, 2002, 05:11 AM
yeah, I want to know this too.
Does the key"Pause" used here ,I had not tried it yet;
I will fly in the sky......
VisiFinish
January 20th, 2002, 09:59 AM
Cheers for the reply.
I tried adding ' | more ' to the end but the program thought that 'more' was a parameter.
Oh well, I got hold of the source code and halted the program with 'cin >> x'.
VF.
sbrothy
January 20th, 2002, 10:40 AM
Did you try:
C:\>yourexe > somefile
C:\>notepad somefile
Regards,
S. Bro
/* I would be happy to deal with my problems one at the time if they would only line up! */
MSDN:
http://search.microsoft.com/us/dev/default.asp
WIN 32 Assembler:
http://board.win32asmcommunity.net/
VisiFinish
January 20th, 2002, 12:08 PM
That's it!
Thanks, what a guru.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.