better to go:
CString str;
str.Format( "%02d", m_int );
the previous will crash if m_int is larger than 99
Sally
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 8 of 8
Threaded View
|
Click Here to Expand Forum to Full Width |