- Jun 16, 2000
- 30,213
- 12
- 81
I have a C++ application that redirects stdout to a file using _wfreopen(). However, I'd like that output to still display on the console as well. Is this a possibility?
I have another process that wraps this one and captures stdout - my other option I can think of is to have that process actually write to the file in addition, rather than redirecting the output in the first place, but I'd like to avoid a major change to the code like that.
Thanks
I have another process that wraps this one and captures stdout - my other option I can think of is to have that process actually write to the file in addition, rather than redirecting the output in the first place, but I'd like to avoid a major change to the code like that.
Thanks