Changeset 313 for trunk/lib/utility.cc
- Timestamp:
- May 17, 2007, 1:40:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/utility.cc
r309 r313 111 111 112 112 113 int percent(int a, int b) 114 { 115 if (b) 116 return (100*a)/b; 117 return 0; 118 } 119 120 113 121 bool node_exist(const std::string& path) 114 122 {
Note: See TracChangeset
for help on using the changeset viewer.