I have a program (called myprogram
) that I build with Eclipse; I can start it from the command line as follows:
myprogram < myinifile
As you can you see, I pass as input the ini file "myinifile".
My question is how to pass it the input file when launching the program from within Eclipse using the Run command.
I know I can specify program arguments in Run / Run configurations / Tab: Arguments but how do I specify an input file?
"myinifile" --> doesn't work
"< myinifile" --> doesn't work either