| tina123 (31) | |
|
How can we see all printed data on console ? by scrolling some of printed data we can see but not all. I wanna see all printed data . . Could any one guide how to resolve it, thanks | |
|
Last edited on
|
|
| Mathhead200 (948) | ||
http://www.google.com/#hl=en&q=redirecting+standard+output&oq=redirecting+standard+output | ||
|
Last edited on
|
||
| tina123 (31) | |
|
Hy , what do you meant by that ? I did not get you . Could you tell me via a small program thanks | |
|
|
|
| Mathhead200 (948) | ||
|
(Did you follow my link?) It's not a program, it's how you should run your program from the command line. First: (on Windows) open cmd.exe Next: Type:
Last: open the newly created file out.txt This will redirect your standard output to the file out.txt, i.e. you won't lose you output when the screen buffer runs out of space. | ||
|
Last edited on
|
||
| tina123 (31) | |
| ahh i see . ok ok . i got it . | |
|
|
|
| tina123 (31) | |
|
Hy @Mathhead200, the way you told .. i did .. but it gave me msg on console that "the directory name is invalid" . but out.txt is created in my Program Debug folder . but when i open out.txt .. it dd not show me any text . I expected my console data in out.txt ./ but out.txt is empty . Could you please tell me again . thanks | |
|
|
|
| Mathhead200 (948) | ||
| ||
|
Last edited on
|
||