[Mingw-w64-public] redirectable output in under windows

2014-12-04 Thread Mark Cianfaglione
Folks I know this might be a little off list but does anyone have a good way (in C) of being able to switch debug output from a file to console? I tired a method where I used freopen(CON,w+, stdout)but it always seems to fail. I saw this on a website (stupidly I didn't bookmark it) and the

Re: [Mingw-w64-public] redirectable output in under windows

2014-12-04 Thread JonY
On 12/5/2014 04:28, Mark Cianfaglione wrote: Folks I know this might be a little off list but does anyone have a good way (in C) of being able to switch debug output from a file to console? I tired a method where I used freopen(CON,w+, stdout)but it always seems to fail. I saw this on a

Re: [Mingw-w64-public] redirectable output in under windows

2014-12-04 Thread lh_mouse
, lh_mouse 2014-12-05 - 发件人:Mark Cianfaglione m.cianfagli...@valydate.com 发送日期:2014-12-05 04:28 收件人:mingw-w64-public 抄送: 主题:[Mingw-w64-public] redirectable output in under windows Folks I know this might be a little off list but does anyone