Changeset 607 in dev for trunk/ab5.0/jenga/src/common


Ignore:
Timestamp:
May 16, 2008, 9:39:03 PM (17 years ago)
Author:
dai_9181
Message:

Jenga::Common::ToString関数を追加。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/jenga/src/common/String.cpp

    r590 r607  
    2626}
    2727
     28std::string Jenga::Common::ToString( int n )
     29{
     30    char temp[255];
     31    wsprintf( temp, "%d", n );
     32    return temp;
     33}
     34
    2835std::wstring Jenga::Common::ToWString( const std::string &str )
    2936{
Note: See TracChangeset for help on using the changeset viewer.