Created: 20 July 1996, Last updated: 26 July 1996, Copied to new website: 02 October 2002
Since the publication of my article in Dr. Dobb's Journal, I've updated the code a bit (see changes.html).
Many times I've found myself printing the bit vectors in hex to
help understand some algorithm or other. I finally got around to writing
this as the reusable function ba_b2hex.c
. It uses <string.h>
and is
therefore more complicated than the published code. Use it at your own
risk.
If I ever write an updated version of the article I'll probably do it in the style I demonstrate (following P. J. Plauger) in my notes about Using C to Encapsulate an Abstract Data Type.
As I wrote in the article the code has great general application. One
particularly nifty application (I think) is my dynamic bibliography
(released 15 July 1996). If your WWW browser works with the
FORM
element then check out the bibliography at http://www.csd.uwo.ca/cgi-bin/tech-refs.
I've also collected links to a few related resources.