By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,657 Members | 994 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,657 IT Pros & Developers. It's quick & easy.

bmp file reading

P: n/a
hi
i wanna load a bmp file from turbo c++ coding.i tried it out as,
video memory pointer with 0xa0000000l as value.
then
i read each bit using fgetc(fptr) and put it into a pointer variable
of the structure.when i cout the bits i get a blank space only.
i then clear video mem pointer to black background and memcpy the
value in pointer variable of struct to video mem pointer.but the prg
hangs up wen i clear the video mem pointer. i use the screen of size
320 by 200.
thanks
sudharan.r
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.