Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: shiyamhoda on April 13, 2011, 12:46:38 pm

Title: using input files
Post by: shiyamhoda on April 13, 2011, 12:46:38 pm
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
Title: Re: using input files
Post by: m.29 on April 13, 2011, 02:37:07 pm
Hi, you can use operator <. Choose "Project -> Set program's arguments... -> Program arguments" and type: < /path/to/file.in