|
-
January 19th, 2002, 03:10 PM
#1
Output Too Quick
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
-
January 19th, 2002, 10:12 PM
#2
Re: Output Too Quick
pipe it to more
eg
dostuff | more
-
January 20th, 2002, 06:11 AM
#3
Re: Output Too Quick
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......
-
January 20th, 2002, 10:59 AM
#4
Re: Output Too Quick
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.
-
January 20th, 2002, 11:40 AM
#5
Re: Output Too Quick
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/
-
January 20th, 2002, 01:08 PM
#6
Re: Output Too Quick
That's it!
Thanks, what a guru.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|