void showbinary(unsigned int u) { int t; for(t=128;t>0;t=t/2) { if(u&t)cout<<"1"; else cout<<"0"; } cout<<endl; }