I'm using Dev-C++ 4.
question one: How do I create a DIB bitmap in memory?

question two: How do I save it to the hard drive?