#include #include #include using namespace std; main(int argc, char* argv[]) { if(argc<2) { cerr << "Usage: bitset number number....\n"; return 0; } else { const int SIZE = 8*sizeof(unsigned long); for(int i=1; i bit(n); for(int b=SIZE-1; b>=0 ; b--) { cout << bit[b]; if( b%4 == 0 ) cout << " "; } cout << endl; } } }