Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Matheus on May 19, 2011, 09:54:31 pm

Title: How can I use a txt as input in my program by codeblocks run?
Post by: Matheus on May 19, 2011, 09:54:31 pm
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 ^^