Hello,
Consider I have a program which has to get input from a file containing some data.
In gcc, the indirection/redirection operators work.
So I would do:
./a.out < readfromFile.txt and values from a txt file will be read into the program using command line. This file is present on my local hard drive.
I am confused how could I do this using codeblocks? (How could I use command line in code blocks to specify the file name)
Please could anyone help on this?
Thanks