User forums > Using Code::Blocks

using input files

(1/1)

shiyamhoda:
Hi all
can some one tell me how to use input files with .in extension to get input for some program.
I am using code::block IDE.
Cheers
ShiyamHoda

m.29:
Hi, you can use operator <. Choose "Project -> Set program's arguments... -> Program arguments" and type: < /path/to/file.in

Navigation

[0] Message Index

Go to full version