Home Segments Index Top Previous Next

Chapter 30:

How To Use Bits
To Record State Information

In this chapter, you learn about still another version of the analyze_trades program. This version keeps track of the state of the computation using individual bits as status-remembering switches. Through this version, you learn about status variables, masks, and logical operations on bits.