Author Topic: using input files  (Read 2396 times)

Offline shiyamhoda

  • Single posting newcomer
  • *
  • Posts: 2
using input files
« 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

Offline m.29

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: using input files
« Reply #1 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
Windows XP SP3, wxWidgets 2.8.11, C::B DEBUGGER BRANCH nightly builds