◐ Shell
clean mode source ↗

std::wcsncmp - cppreference.com

Da cppreference.com.

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

Elemento definito nell'header

<cwchar>

int wcsncmp( const wchar_t* lhs, const wchar_t* rhs, size_t count );

Confronta a personaggi più count larghe di due stringhe larghe null-terminated. Il confronto è fatto lessicografico.

Original:

Compares at most count wide characters of 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.

Parametri

lhs, rhs -

puntatori alle stringhe larghe null-terminated da confrontare

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.

count -

il numero massimo di caratteri da confrontare

Original:

maximum number of characters to compare

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valore di ritorno

Valore negativo se lhs è meno 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 se lhs è pari 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.

Valore positivo se lhs è superiore 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.

Esempio

Vedi anche

confronta due stringhe larghe

Original:

compares two wide strings

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

confronta una certa quantità di caratteri larghi da due array

Original:

compares a certain amount of wide characters from two arrays

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

confronta due stringhe larghe in accordo con i parametri locali

Original:

compares two wide strings in accordance to the current locale

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

C documentation for wcsncmp