Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: juliomarcos on May 17, 2009, 07:19:10 pm

Title: Changing standard input of launcher
Post by: juliomarcos on May 17, 2009, 07:19:10 pm
Hey!

I would like to give a "input.txt" to cb run it as my stdin. Although I cant hard code it (part of problem specification). It would be perfect if I could put a program argument like "MyProg.exe < input.txt". And then see the main return and the time of execution pressing F9.

I use C::B 8.02 in a Windows XP. Thank you in advance!