-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
49 lines (43 loc) · 1.74 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
DESCRIPTION
-----------
This archive contains an ISO C++ class implementing arbitrary length arrays
of bits. The class is intended to be easy to follow and expand upon,
though it may be used without an understanding of its implementation.
FILES
-----
bitarray.cpp - Class providing operations on arbitrary length arrays
of bits.
bitarray.h - Header for bitarray class.
sample.cpp - Program demonstrating how to use the bitarray class.
COPYING - GNU General Public License
COPYING.LESSER - GNU Lesser General Public License
Makefile - makefile for this project (assumes gcc compiler and GNU make)
README - this file
BUILDING
--------
To build these files with GNU make and gcc, simply enter "make" from the
command line.
USAGE
-----
sample.cpp demonstrates usage of each of the bitarray functions.
HISTORY
-------
08/03/04 - Initial release
04/30/06 - Improved performance by incorporating Benjamin Schindler's
<[email protected]> changes to pass arguments as a
reference.
08/02/07 - All methods that don't modify object have been made const to
increase functionality of const bit_array_c.
All assignment operators return a reference to the object being
assigned a value so that operator chaining will work.
Add >> and << operators.
02/03/10 - Replaced vector<unsigned char> with an array of unsigned char.
If you want to use STL and vector you might as well use
vector<bool>. Nothing from STL is used in this version.
TODO
----
- Test on platforms with character lengths other than 8 bits.
- Consider implementing overloads that return const bit_array_c
AUTHOR
------
Michael Dipperstein ([email protected])