Author Topic: How can I use a txt as input in my program by codeblocks run?  (Read 2735 times)

Matheus

  • Guest
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 ^^