i have a bmp file; i declared some structures
I read the information:Code:struct bmp_fileheader {...}
but now i have to write all of this info into another file. I opened itCode:struct bmp_fileheader prim; fread(&prim, sizeof(prim), image);
file = fopen (image2.bmp, "wb");
butI don t know how to use fwrite in otder to wite all the information stored in my structure. Can someone please help me?