User forums > Using Code::Blocks

Changing standard input of launcher

(1/1)

juliomarcos:
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!

Navigation

[0] Message Index

Go to full version