◐ Shell
clean mode source ↗

std::char_traits::find — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

const CharT* find( const CharT* p, std::size_t count, CharT a );

Recherches pour a caractère dans les caractères count premiers pas dans une chaîne de caractères pointée par p .

Original:

Searches for character a within the first count characters within character string pointed to by p.

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

Paramètres

p -

pointeur vers une chaîne de caractères à rechercher

Original:

pointer to a character string to search

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

count -

le nombre de caractères à analyser

Original:

the number of characters to analyze

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

a -

le caractère à rechercher

Original:

the character to search for

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

Retourne la valeur

Un pointeur vers le premier caractère de la valeur a withing la chaîne de caractères donnée .

Original:

A pointer to the first character of value a withing the given character string.

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

Exceptions

(Aucun)

Original:

(none)

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

Complexité

Linéaire .

Original:

Linear.

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