I was trying to figure out a way to use graphics commands inside an ms-dos window. Something as simple as being able to draw a line, or change the color of a pixel would be excellent. I read a book on graphics for c++, but the only thing it mentioned was using classes for windows, such as CWnd, and CObject. Also what is a device context, and how is that used?