#include "bitvector.h" #include "qsort.h" int main(void) { bitvector v(100); v.fill(); bitvector x(50); x=v; v.copyonwrite(); for(unsigned int i=0; i<100; i+=2) v.reset(i); x.fill(); x= ~x; for(unsigned int i=0; i<100; ++i) x.assign(i,i&1); cout < t(10); for(int i=0; i<10; ++i) t[i]=i; cout < u(10); for(int i=0; i<10;++i) u[i]=i; ptrqsortup(&t[0],&t[9],&u[0]); cout<