groups

name language licence
Rename a lot of files in a directory 1 Perl Other
Color on Mac terminal Shell Other
Commenting code including comments C++ Other
Convert UInt_t to binary C++ Other
Convert string to integer C++ Other
Description Latex Other
Reading a TRefArray C++ Other
SetDirectory C++ Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 >



language: C++
licence: Other

Convert UInt_t to binary

options: view full snippetsend to code collector
void print_damn(UInt_t damn0) {

   for ( Int_t bit = 0 ; bit < 32 ; ++bit ) {
      cout << this->Damn0Name(bit) << " ";
      cout << (damn0&1) << endl;
      damn0 = damn0 >> 1;
   }

} 

	
(Continues...)