Changeset 263 for bdm/itpp_ext.cpp
- Timestamp:
- 02/09/09 23:11:35 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/itpp_ext.cpp
r180 r263 287 287 } 288 288 289 290 std::string num2str(double d){ 291 char tmp[20];//that should do 292 sprintf(tmp,"%f",d); 293 return std::string(tmp); 294 }; 295 std::string num2str(int i){ 296 char tmp[10];//that should do 297 sprintf(tmp,"%d",i); 298 return std::string(tmp); 299 }; 289 300 }