Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef union BMPHeader
- {
- unsigned char buf[14];
- struct
- {
- unsigned char id[2];
- unsigned int file_size;
- unsigned char app_specific[4];
- unsigned int data_offset;
- } fields;
- } BMPHeader;
- BMPHeader hdr;
- int k = sizeof(hdr); <--- 16???????
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement