The problem is that I don't have administrative rights on my own computer (wierd, huh?). Please don't ask about it. Anyway, so I tried to install the allegro devpack (yes, I'm using dev-c++), but when I verify the installation, it says the following files are missing: [about 100 files here]. I thought I might as well give it a try thought, right? So I linked liballeg.a and included \, but in the error message it told me, and I quote "Something must be terribly wrong with your code. Please fix it."
And when I try to install manually, I have to write stuff in the system environment variables which is blocked.
Back on topic: what do I have to put in the main lines of the .bmp? Like after the header and what not?
EDIT-> How can I stop writing on one line with file.write() and start writing on another? I have everything else to write a .bmp in HEX, and I'm gonna use another program to convert the HEX to binary.
EDIT #2-> I GOT SDL WORKING! I'm happy. I guess then that my problem is solved!