2008/7/1 John Love-Jensen <eljay@xxxxxxxxx>: > Hi Chris, > > Depending on your platform, these may be available: > man 3 bitstring > man 3 ffs > > If you are using C++, consider <bitset> std::bitset. Thanks (and to Andrew too) Unfortunatly I cannot use std::bitset as the bits are already allocated. However, this code is useful to get an idea as to how I should progress. Thank you! Chris