Hi,
I'd like to write a simple Program that opens a window where I can put pixels in certain colors. I've been doing this on dos a few years ago but now want to try again under windows.

I use Devc++ and want to have a simple way to draw simple things, for example..

Code:
main () {
   openwindow (size);
   putpixel (x, y, color);
}
There's just too much information, I don't know where to start, if I should use OpenGL for example or whatever. I don't want to create 10 files, 5 classes or whatever in c++ just to have a simple app!

Can anyone give me a hint, please!?

Chris