|
Create a new project (dos/console app) and place the code I've given into the suggested .c file.
Compile the project, which in terms will produce an executable file, usualy called a.out or out.exe (can't remember what dev-c++ produces, mainly because I've never used it)
This output file, is the actual "program" mentioned in my example of usage.
So theres no need to alter any part of the code I've provided.
The mentioned program input.txt output.txt is the actual way to use it from a console (start -> run -> cmd)
|