Find a graphics library and learn to use it. You could use the windows API or X11 libraries directly, but those are a waste of time. My recommendation would be to use one of
WxWidgets: http://www.wxwidgets.org/
Qt: http://qt.nokia.com/products
GTK+: http://www.gtk.org/
There's more that I can't remember, someone else will no doubt add to that list.