MudBytes
Code Repository
» Root » Utilities

 

C BitVector (aka bitset)

Share |

Description:
This is an object oriented implementation of bit vectors written in C. The bit vectors can be created with any size. Standard functions are provided, in addition to some higher-level functions such as union, intersection and subset testing.

The goal is to provide a low-level data structure. Potential future bells and whistles would include things like stringification functions.

A test file is provided that exercises the functionality; it should complete without assertion failure "out of the box". Hopefully, the test file also serves as a basic usage example.

This code is released under the BSD license; please see LICENSE in the file. In brief: there are very few usage restrictions other than maintaining credit.

Bug reports, feedback, love/hate mail, etc., welcome.

Author: David Haley Submitted by: David Haley
File Size: 4 KB Added: Jun 29, 2009
Downloads: 34
File Type: GZip Tar Archive
Rating: | Download | View | Discuss | Bug tracker

Valid XHTML 1.1! Valid CSS!