[SDL] stdout and stderr redirection question

Paul Lowe pauls_lists at tetravista.net
Mon Oct 25 19:10:31 PDT 2004


how about a link to the source code?

Paul Lowe
pauls_lists at tetravista.net

On Friday 22 October 2004 06:17 pm, Justin Coleman wrote:
> Very strange question, hopefully someone can explain this
> to me:
>
> I have a singleton class whose constructor is called
> before main (a global object, essentially). If I put a
> cout or cerr statement in the constructor, the stdout.txt
> and stderr.txt files, whichever I write to, don't get
> created. If I leave those statements out of the
> constructor, or comment them out, the txt files show up
> and are filled with my debug statements. Everything else
> works fine either way.
>
> Is there a simple answer why this happens?
>
> Thanks,
>
> -Justin
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl




More information about the SDL mailing list