The Dink Network

Any help?

September 4th 2005, 08:44 PM
pillbug.gif
Drink
Peasant He/Him Chile
Don't drink 
There is this thing on Dinkvar.h:

dib_pitch = (pbi->biWidth+3)&~3;

Don't know what does that &~3. Someone can help, please?
September 4th 2005, 09:45 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
& is the bitwise 'and' operation.

~ is the bitwise 'not' operation.

Wikipedia has a good article on bitwise operations in general.
September 5th 2005, 01:51 PM
pillbug.gif
Drink
Peasant He/Him Chile
Don't drink