Espacios de nombres
Variantes

std::mbstowcs

De cppreference.com
 
 
 
Cadenas multibyte terminadas en nulo
Ancho / multibyte conversiones
Original:
Wide/multibyte conversions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Tipos
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
<tbody> </tbody>
Definido en el archivo de encabezado <cstdlib>
std::size_t mbstowcs( wchar_t* dst, const char* src, std::size_t len)
Convierte una cadena de caracteres de varios bytes de la matriz cuyo primer elemento es apuntado por src en la representación de caracteres anchos. Caracteres convertidos se almacenan en los elementos sucesivos de la matriz a la que apunta dst. No más de caracteres anchos len se escriben en la matriz de destino .
Original:
Converts a multibyte character string from the array whose first element is pointed to by src to its wide character representation. Converted characters are stored in the successive elements of the array pointed to by dst. No more than len wide characters are written to the destination array.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Cada carácter se convierte como si por una llamada a std::mbtowc, excepto que el estado de conversión mbtowc no se ve afectada. La conversión se para si:
Original:
Each character is converted as if by a call to std::mbtowc, except that the mbtowc conversion state is unaffected. The conversion stops if:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click