hello. i need some help with BMP images.
i declared 3 structures
Code:
struct bmp_fileheader
{...}
struct bmp_infoheader
{....}
struct bmp_bitmap
{    int blue;
    int green;
    int red;
};
now i try to open the file and read from it

Code:
FILE *captcha =fopen("captcha.bmp", "rt");

struct bmp_fileheader info; //i named my struct "info"

fread(&info, 14, 1, captcha);
unfortuantely i receive "segmentation fault". why?