Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
Bitwise Operations
Which bit wise operator is suitable for turning on a particular bit in a number?
✍: FYIcenter
The bitwise OR operator. In the following code snippet, the bit number 24 is turned ON:
enum { KBit1 = 0x00000001 KBit2 = 0x00000010, KBit3 = 0x00000100, ... }; some_int = some_int | KBit24;
2007-02-26, 6925👍, 0💬
Popular Posts:
How to set a HTML document's background color? document.bgcolor property can be set to any appropria...
How Large Can a Single Cookie Be? - PHP Script Tips - Understanding and Managing Cookies How large c...
How can a servlet refresh automatically if some new data has entered the database? You can use a cli...
How To Select Some Rows from a Table? - MySQL FAQs - SQL SELECT Query Statements with GROUP BY If yo...
Should synchronization primitives be used on overrided bean methods? No. The EJB specification speci...