Re: Viewing cout with Win98


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by William D McQuain on December 05, 2001 at 13:59:17:

In Reply to: Viewing cout with Win98 posted by Brett Morgen on December 05, 2001 at 12:28:39:

: Sorry to flood the board, but as you can see my time is running out for this project and I'm getting desperate. Can anyone tell me how to view all the cout output using win98? Thanks a lot.

Never touch the stuff myself. However, you can always run your program directly from the command line.

Assuming you named your executable hhts.exe and it's located in c:\projects\2704\hhts you'd run it something like this:

in c:\projects\2704\hhts\> hhts vehicledata.txt testscript.txt > log.txt

The '>' causes the output to be redirected into a new file named "log.txt".

To do this, you have to navigate to the directory containing your executable (that's why the prompt looks like that), and the input files must also be in that directory.





Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]