Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Bitwise Operations
Which bit wise operator is suitable for turning off a particular bit in a number?
✍: FYIcenter
The bitwise AND operator. Here is an example:
enum {
KBit1 = 0x00000001
KBit2 = 0x00000010,
KBit3 = 0x00000100,
...
};
some_int = some_int & ~KBit24;
2007-02-26, 10297👍, 0💬
Popular Posts:
What is the purpose of the wait(), notify(), and notifyAll() methods? The wait(),notify(), and notif...
Can you prevent a class from overriding ? If you define a class as “Sealed” in C# and “NotInheritab...
How To Build WHERE Criteria with Web Form Search Fields? - MySQL FAQs - Managing Tables and Running ...
What is a fish bone diagram ? Dr. Kaoru Ishikawa, invented the fishbone diagram. Therefore, it can b...
How To Delete a User Account? - Oracle DBA FAQ - Managing Oracle User Accounts, Schema and Privilege...