The MASM Forum
General => The Workshop => Topic started by: Farabi on July 30, 2012, 07:04:35 PM
-
What is "~0" mean on C++ programming? Is it mean reverse all of the zero bit? ~0=0FFFFFFFFh?
-
yes
-
The '~' operator is a bitwise NOT, otherwise known as "one's compliment":
http://www.cprogramming.com/tutorial/bitwise_operators.html
HR,
Ghandi