Hi, 

i notice this line:

#pragma pack(push,1)
struct TGAHeader { 

bla bla bla...

};
#pragma pack(pop)

what is the definition of pragma exatly? i use this struct as a header that 
will be written in a file. when i delete this line, the file can not be opened 
by the application (corrupted). can any1 help me?
*googled but not understand :(

thanks in advance


      

Reply via email to