Espacios de nombres
Variantes

std::wcscmp

De cppreference.com
 
 
 
 
<tbody> </tbody>
Definido en el archivo de encabezado <cwchar>
int wcscmp( const wchar_t* lhs, const wchar_t* rhs );
Compara dos cadenas de terminación nula de ancho. La comparación se realiza lexicográfico .
Original:
Compares two null-terminated wide strings. The comparison is done lexicographically.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parámetros

lhs, rhs -
punteros a las cadenas anchas terminadas en cero para comparar
Original:
pointers to the null-terminated wide strings to compare
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

Valor negativo si lhs es menos rhs .
Original:
Negative value if lhs is less than rhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
0 lhs si es igual a' rhs .
Original:
0 if lhs is equal to rhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Valor positivo si lhs es superior rhs .
Original:
Positive value if lhs is greater than rhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ejemplo

Ver también

Compara una cierta cantidad de caracteres de dos cadenas anchas
(función) [editar]
Compara una cierta cantidad de caracteres anchos de dos arrays
(función) [editar]
Compara dos cadenas anchas, de acuerdo a la configuración regional actual
(función) [editar]