Quote:
Originally posted by alpha
well, you could just write a program that takes input from a file, and output to another file, no need for cin and cout, just ifstream and ofstream stuff.
|
that's not a console program, in that it makes no use of the console. a console program would fail (or be totally useless) if you closed stdin, stdout, and stderr before exec'ing it, whereas a program that only does file io would not.