|stdout not Displayed with Command Line Arguments [message #1038767]
||Thu, 11 April 2013 05:44
| Michael ......
Registered: April 2013
At the moment I'm working on an assignment where my program needs to be able to process text from stdin and output to stdout.|
The problem is, as soon as I put in the command line arguments (arguments like -v and -d) for my program, the console stops displaying the stdout. Even if the program is literally a one line , the output will not be displayed if there are any command line arguments.
I'm setting these arguments in Run/Run Configurations/Arguments if that clarifies anything.
My second question is simply, how do I read the stdin from a text file in eclipse? At the moment I'm having to paste the input to the console every time I run the app.
Thanks for any help!
Powered by FUDForum
. Page generated in 0.01682 seconds