Re: Redirecting I/O

2009-04-10 Thread Cary Coutant
(This question probably should be on gcc-help instead of this list.) > I'm trying to redirect I/O in my C++ application and am having some > difficulty. I am trying to use cout or a file for output based on some > condition. cout is an ostream object and file is an ofstream object. > The types are

Redirecting I/O

2009-04-10 Thread Arthur Schwarz
This isn't a compiler question and I apologize for that. I'm having a devil of a time getting an answer to my issues on the C/C++ forums I'm using and, sigh, perhaps someone can direct me to a forum where the questions can be better addressed. I'm trying to redirect I/O in my C++ application a