Getting ready

For this recipe, you must be familiar with bitwise operations (and, or, xor, not, and shifting).

The bitset class is available in the std namespace in the <bitset> header. A bitset represents a fixed-size sequence of bits, with the size defined at compile time. For convenience, in this recipe, all examples will be with bitsets of 8 bits.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset