As in C, the STL does not support graphics. Therefore, at first you are stuck with the console window. Here (in C) it is described how to change the colors of the letters. Most graphic libraries are not cross-platform compatible, whereas the STL -by definition- is.
The only exception is the Seagull library, that does not support graphics directly, but after the graphic image is converted to an STL two dimensional vector, it supplies some graphical operations.
If you really want to work directly with graphics in a cross-platform way, you can:
- use a programming environment that is platform independent, e.g. QT Developer
- delegate the non-STL stuff to another cross-platform program. For example here is an interface to the cross-platform and free Gnuplot. Gnuplot is a program to plot values in a chart.
last edited (January 7, 2007) by bilderbikkel
Back to the page