Giter VIP home page Giter VIP logo

bitarray-cpp's Introduction

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])

bitarray-cpp's People

Contributors

dl1com avatar

Stargazers

 avatar

Watchers

 avatar

bitarray-cpp's Issues

Error test

func:
ba3= ba1 | ba2
ba3 = ba1 ^ ba2
ba3 = ba1 & ba2;
ba3 = ba2 >> 1;
ba3 = ba1 << 1;
Error:

Untitled

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.