title: Save space writing bitset to a file in C++
body: <p>I was wondering how I can save space writing a bitset to a file ( probably using iostream) in c++.  Will breaking up the bitset into bitset of size 8 and then writing each individual bitset to the file save me space?  What is your thought about this.  This is the intention of data compression.</p>