I would like to use textview widget to display outputs throughout my program, there are bunch of cout and printf where I display particular information, now I would like to use a GUI in GTK+ to display the outputs that I see on command shell.
I read somewhere I need to use GIOchannel and in other places, somewhere else they just suggested to write to gtk_text_buffer_insert(), the problem is the latter function takes char pointer, and I display doubles and floats. Casting doesn't work and it shouldn't work really.
How do I do this?