std::strchr
Da cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Definido no cabeçalho <cstring>
|
||
const char *strchr( const char *str, int ch ); |
||
char *strchr( char *str, int ch ); |
||
Encontra a primeira ocorrência do
ch
na seqüência de caracteres de bytes apontado por str
. Original:
Finds the first occurrence of the character
ch
in the byte string pointed to by str
. The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Índice |
[editar] Parâmetros
str | - | ponteiro para o byte string terminada em nulo para ser analisado
Original: pointer to the null-terminated byte string to be analyzed The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
ch | - | caracteres para pesquisa
Original: 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. |
[editar] Valor de retorno
Ponteiro para o caractere encontrado em
str
, ou NULL se nenhum desses personagens é encontrada.Original:
Pointer to the found character in
str
, or NULL if no such character is found.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Exemplo
Esta seção est�� incompleta Motivo: sem exemplo |
[editar] Veja também
localiza a última ocorrência de um caractere Original: finds the last occurrence of a character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
encontra o primeiro local de qualquer caractere em um string, em outra seqüência Original: finds the first location of any character in one string, in another string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
Documentação C para strchr
|