25 декабря 2013

Format Specifiers CString::Format

Remarks

Call this member function to write formatted data to a CString in the same way that sprintf formats data into a C-style character array. This function formats and stores a series of characters and values in the CString. Each optional argument (if any) is converted and output according to the corresponding format specification in lpszFormat or from the string resource identified by nFormatID.

The call will fail if the string object itself is offered as a parameter to Format. For example, the following code:

Читать далее

 113 total views

Раздел: C++ | Комментарии к записи Format Specifiers CString::Format отключены