- Timestamp:
- May 16, 2008, 9:39:03 PM (17 years ago)
- Location:
- trunk/ab5.0/jenga
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/jenga/include/common/String.h
r590 r607 11 11 std::string& StringReplace( std::string& str, const std::string sb, const std::string sa ); 12 12 13 std::string ToString( int n ); 13 14 std::wstring ToWString( const std::string &str ); 14 15 -
trunk/ab5.0/jenga/src/common/String.cpp
r590 r607 26 26 } 27 27 28 std::string Jenga::Common::ToString( int n ) 29 { 30 char temp[255]; 31 wsprintf( temp, "%d", n ); 32 return temp; 33 } 34 28 35 std::wstring Jenga::Common::ToWString( const std::string &str ) 29 36 {
Note:
See TracChangeset
for help on using the changeset viewer.