Member Avatar
I_m_rude

What Can I do so as to stop compiler not to do padding in the structures ? is there any pragma or something like that which i can use ? thanks in advance. now, "ANY" response will be appreciated. :-D

commented: Much better. :) +0

Some compilers will add a pragma that allows you to do this, usually with the name "pack".

Here's one for Visual Studio and one for GCC.

Member Avatar
I_m_rude

@deceptikon your second link is not working which i want (gcc). I hope you will check and provide same or any other link to me. thanks to you. any other response will also be appreciated.

Member Avatar
I_m_rude

okay @decptikon. that link was really helpful.today, I learnt how to search. my knowledge has increased much. and I want to ask you one thing here, Can i get any other link also ? just like this informative link as i am too greedy in matter of information. Any other link if anybody want to share, that will also be apprecited. thanks in advance.