FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
bitarray-cpp/README at master · dl1com/bitarray-cpp · GitHub
dl1com
/
bitarray-cpp
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
bitarray-cpp
/
README
Copy path
More file actions
More file actions
Latest commit
History
History
History
49 lines (43 loc) · 1.74 KB
Breadcrumbs
bitarray-cpp
/
README
Copy path
File metadata and controls
49 lines (43 loc) · 1.74 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
<bschindler@student.ethz.ch> 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 (mdipper@alumni.engr.ucsb.edu)
Back
|
FazBrowse Home
|
New Git URL