Varianti

std::char_traits::find

Da cppreference.com.

<metanoindex/>

 
 
Stringhe libreria
Null-stringhe terminate
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Byte stringhe
Multibyte stringhe
Stringhe larghe
Classi
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string
char_traits
 
 
<tbody> </tbody>
const CharT* find( const CharT* p, std::size_t count, CharT a );

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

Parametri

p - pointer to a character string to search
count - the number of characters to analyze
a - the character to search for

Valore di ritorno

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

Eccezioni

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

Complessità

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