Current Forum: Homework 4 - Huffman Trees (Part 1) |
Date: Tue Oct 9 2001 12:10 am |
Author: Liu, William Y. <wyl@andrew.cmu.edu> |
Subject: little more info about storing bitstrings in ints |
|
|
How do I store an arbitrary bitstring in an int? Does this require the strange looking "bit-pushing" operations that I seemed to encounter in reading the FileBitWriter and FileBitReader classes? I want to find out how I can fill an int with a bitstring. That's the bottom line. |
|