Hi,
I'd like to get rid of all the cout stuff in my code.
Following situation:
Way over 2000 files, search and replace in all of them is not an option.
All of the files include a basic header.
In this basic header i must NOT include iostream.
Iostereams thus get included after my basic header, at any random place
in the code.
What I'd like to do is change the behaviour in a way that everything
sent to either cout or cerr comes to my own stream class (which is
accessible by including the base header) or can at least be supressed
(this is easy though)
with kind regards Philip
I'd like to get rid of all the cout stuff in my code.
Following situation:
Way over 2000 files, search and replace in all of them is not an option.
All of the files include a basic header.
In this basic header i must NOT include iostream.
Iostereams thus get included after my basic header, at any random place
in the code.
What I'd like to do is change the behaviour in a way that everything
sent to either cout or cerr comes to my own stream class (which is
accessible by including the base header) or can at least be supressed
(this is easy though)
with kind regards Philip
Comment