I'm trying to output a plain red bitmap using only the C++ stl (so I can't use windows.h and it's functions, found in the tutorial). How would I go about doing this? At the moment, I've imported a (working) bitmap header file. I read this file in, and then output it to a new file using streams. The new file then ends up being a 700 x 700 bitmap file, like it should be. However, when I open it in windows picture viewer, it says drawing failed. I assume this is because I need to append some more information on to the end of the header. What would I append to the end of it in order to make it plain red?
This post has been edited by unsigned user;: 04 May 2007 - 04:55 PM