Menu

#231 stdio piping

open
nobody
None
5
2012-09-26
2004-03-13
Nick Beato
No

Hi,

First off I like Dev-C++ a lot. Thanks for making it :)

I have what is hopefully a simply request. When
writing command line programs (especially with glut), I
often pipe a file instead of using stdin. eg:

myprogram < testdata.txt

Right now, I have to open a command line and execute
the above command. I can't find a way to override
stdin in the editor. I would really like to use execute
& run in the editor to save myself some time. I have
tried adding "< testdata.txt" to the parameters, that
does not work, even if the full path is with the file
name. It still waits for the stdin when initializing
in my program.

Thanks,

Nick

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.