#ifndef _BITARRAY_HPP_ #define _BITARRAY_HPP_ class bitarray { private: unsigned char *b; int numbytes; int len; bool bitpos(int, int&, int&); public: bitarray(int); ~bitarray(); int size(); bool get(int); bool set(int,bool); void zero(); void show(); }; #endif