News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Feeding in a new file via the stdin

Started by Blanchy, December 16, 2007, 12:58:05 PM

Previous topic - Next topic

Blanchy

Hi I'm trying to feed in a file into the stdin but it's acting strangely.

In 'Project->program arguments' I'm doing entering "< file.txt"  (without the quotes)

If I run my program via the command line by doing

program < file.txt

then it works fine.

How can I get it working in Codeblocks?

Thanks