Command Line Arguments

Chris
2012-07-02
2012-09-26
  • Chris
    Chris
    2012-07-02

    I have been writing some code in PICO and I am sick of it. So i downloaded the
    newest version of bloodshed (beta) and am having issues with the IO
    redirection I had been using. When I would run the program from putty before,
    I would run it like this:

    ./a.out < text.txt

    So in dev C++ I have tried putting this into the parameters section and it
    will not work:

    < text.txt

    Also i have tried:

    < C:\Users\Chris\Desktop\hw1\text.txt

    Does anybody know what I am doing wrong, and what I need to do to make this
    work?
    Thanks in advance for your help!