Hey,
I'm attempting to have output from my program to to the terminal. First I tried with cout, but that seems to only send the output once the program closes. I've been messing around with wxMessageOutput, but my program segfaults when the functon containing Printf(wxT("")) is called. Is there an easy way of just sending output to the terminal (standard output)?
FlyingIsFun1217
How to send output? Topic is solved
-
- Super wx Problem Solver
- Posts: 497
- Joined: Mon Nov 06, 2006 9:58 pm
Re: How to send output?
Hi,
I normally use one of the wxLog functions e.g. wxLogDebug, but cout << foo << endl; should work too.
Regards,
David
I normally use one of the wxLog functions e.g. wxLogDebug, but cout << foo << endl; should work too.
Regards,
David
-
- Super wx Problem Solver
- Posts: 497
- Joined: Mon Nov 06, 2006 9:58 pm
Re: How to send output?
Thanks, I was missing the endl before, which was ultimately the problem.
FlyingIsFun1217
FlyingIsFun1217