In article <BEC10A2A.10A38%juliosity@igf.com>, Bint <juliosity.DeleteThis@igf.com>
wrote:
>Hello,
> I feel like I've asked this before, but I did a search on the archives and
>came up short.
>
>I've got a console std c app that I'm compiling with CW. When it runs, it
>pops up a little menu where I can type in some command line arguments (for
>-argc, -argv).
>
>There is also, below this, two radio controls, one for input, one for
>output, I assume. With these you can select "Console" or "File".
>
>Clicking on "File" for the output causes the programs output to dump to a
>file that I specify. Good, that's what I want.
>
>Clicking on "File" for the input lets me choose a file. My question is:
>What am I choosing here? How do I access the file that I choose with this
>radio button?
you are using redirection to input from or output to a file (or both)
that replaces stdin or stdout.
So it reads from the file instead of stdin and prints to a file instead
of to the console.
Ron
--
Metrowerks Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and Metrowerks' staff
--
http://www.metrowerks.com/community --
Ron Liechty - MWRon.DeleteThis@metrowerks.com -
http://www.metrowerks.com