View Single Post
Old 04-22-2003, 01:28 PM   #9 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
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.
joe_bruin is offline   Reply With Quote