Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Struts (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, 10579👍, 0💬
Popular Posts:
How do you override a defined macro? You can use the #undef preprocessor directive to undefine (over...
What are urlencode() and urldecode() functions in PHP? string urlencode(str) - Returns the URL encod...
What is the difference between "printf(...)" and "sprintf(...)"? sprintf(...) writes data to the cha...
1. The basics first, please define the web in simple language? How is it connected with internet? Wh...
How To Run "mysql" Commands from a Batch File? - MySQL FAQs - Command-Line End User Interface mysql ...