Mercurial > hg > Applications > Grep
diff c/bitVector/main.cc @ 84:3d1c71fbd4a4
add bitInfo & fix Makefile
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 07 Oct 2015 18:21:32 +0900 |
parents | a2826bf4e80a |
children | 9a1bb8f439f5 |
line wrap: on
line diff
--- a/c/bitVector/main.cc Wed Oct 07 18:17:56 2015 +0900 +++ b/c/bitVector/main.cc Wed Oct 07 18:21:32 2015 +0900 @@ -1,14 +1,10 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include "bitInfo.h" int bitBlock = sizeof(unsigned long) * 8; -typedef struct bitInfo { - int arrayNum; - unsigned long *bitContainer; -}BitInfo,*BitInfoPtr; - void bitSet(BitInfoPtr bi, int bitSetPosition) { unsigned long tmp = 1;