Code::Blocks Forums
User forums => Help => Topic started by: dedachi on April 13, 2010, 10:04:23 pm
-
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
-
Why have you posted this for the second time?
http://forums.codeblocks.org/index.php/topic,12119.0.html
Bumping your thread is the better solution...
Morten: there is no info for the tools menu in the manual :(
But there is a wiki page :lol: (some clicks + a wiki search harder to find) : http://wiki.codeblocks.org/index.php?title=Configure_tools