PDA

View Full Version : how to print a matrix to a console in GUI program



elflord
6th March 2009, 14:53
hi all

i'm trying to print a matrix
how can i open up a console in a gui program; instead of printing to stderr ?
because it seems that in stderr always put '\n' automatically
thanks

boudie
7th March 2009, 17:35
Try adding a '\c' to your output.
That should suppress a newline.

A better solution may be to output only complete lines with fields separated by tabs.

lyuts
14th March 2009, 13:16
Are you using qDebug() function?