Changeset e08f45 for molecuilder/src/verbose.cpp
- Timestamp:
- Feb 9, 2009, 5:24:10 PM (17 years ago)
- Children:
- 451d7a
- Parents:
- 4aef8a
- git-author:
- Frederik Heber <heber@…> (02/09/09 15:55:37)
- git-committer:
- Frederik Heber <heber@…> (02/09/09 17:24:10)
- File:
-
- 1 edited
-
molecuilder/src/verbose.cpp (modified) (2 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/verbose.cpp
-
Property mode
changed from
100644to100755
r4aef8a re08f45 7 7 ostream& Verbose::print (ostream &ost) const 8 8 { 9 for (int i=Verbosity;i--;)10 ost.put('\t');11 //cout << "Verbose(.) called." << endl;12 return ost;9 for (int i=Verbosity;i--;) 10 ost.put('\t'); 11 //cout << "Verbose(.) called." << endl; 12 return ost; 13 13 }; 14 14 … … 35 35 int bits = 1, counter = 1; 36 36 while ((bits = 1 << counter) < BinaryNumber) 37 counter++;38 for (int i=0;i<counter-1;i++) {39 if ((BinaryNumber & (1 << i)) == 0)40 ost.put('0');37 counter++; 38 for (int i=0;i<counter-1;i++) { 39 if ((BinaryNumber & (1 << i)) == 0) 40 ost.put('0'); 41 41 else 42 ost.put('1');43 }44 ost.put('b');45 //cout << "Binary(.) called." << endl;46 return ost;42 ost.put('1'); 43 } 44 ost.put('b'); 45 //cout << "Binary(.) called." << endl; 46 return ost; 47 47 }; 48 48 -
Property mode
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
