Original Post
I've made a C++ code for loading bitmap, which isnt really hard until i reached the part where i should flip the bitmap. I store the data in an array: unsigned char[width*height*3] I've tried many ways and searched through google many times but still cant get a working result :( help needed, thx in advance