News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

What is ~0?

Started by Farabi, July 30, 2012, 07:04:35 PM

Previous topic - Next topic

Farabi

What is "~0" mean on C++ programming? Is it mean reverse all of the zero bit? ~0=0FFFFFFFFh?
http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165

qWord

MREAL macros - when you need floating point arithmetic while assembling!

Ghandi

The '~' operator is a bitwise NOT, otherwise known as "one's compliment":

http://www.cprogramming.com/tutorial/bitwise_operators.html

HR,
Ghandi