News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How can I use a txt as input in my program by codeblocks run?

Started by Matheus, May 19, 2011, 09:54:31 PM

Previous topic - Next topic

Matheus

This is the first time I'm using this forum, I hope this is the right area...
My question is:
How can I use an txt file as input when runnig my probram using codeblocks shortcut?
For example, in DOS/terminal I just type program.exe < arq.txt.

I've tryied using project->set programs' argument->program arguments: <arq.txt
But it didn't work...

Could someone give me a hand?

PS: Sorry for my horrible english, long time not using ^^