advertisement
Premier Club Log In/Registration
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   SKILLBUILDING  |   TIP BANK  |   SOURCEBANK  |   FORUMS  |   NEWSLETTERS
Browse DevX
Although the Standard Library has a bitset class, many programmers prefer to use bitwise operators directly. Do you wish to see a more user-friendly class that abstracts bitwise operations or is such a class uncalled for?
Partners & Affiliates
advertisement
advertisement
advertisement
Average Rating: 3.1/5 | Rate this item | 8 users have rated this item.
 

Bitwise Operators: Combining Efficiency and Ease of Use

Bitwise operators are used in Digital Signal Processing, compression and encryption algorithms, GUI, and other application domains as an efficient way of manipulating strings of bits. Learn how to use them and take the pain out of the setting, clearing, and testing bit strings.  


advertisement
irect manipulation of bits that aren't stored as bit-fields is an arduous and error-prone task. Fortunately, C++ has a set of bitwise operators for this purpose. These operators are widely used in Digital Signal Processing, compression and encryption algorithms, GUI, and other application domains. The following sections introduce the bitwise operators and show how to use them.


How to manipulate strings of bits directly, in an efficient and readable manner?


Use the built-in bitwise operators for setting, clearing, and testing bit strings.

  Next Page: Operators' Functionality
Page 1: IntroductionPage 3: Self-assignment
Page 2: Operators' Functionality 
Please rate this item (5=best)
 1  2  3  4  5
advertisement
Advertising Info  |   Member Services  |   Permissions  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs