std::fwgets
De 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. |
<metanoindex/>
<tbody> </tbody>| Definido no cabeçalho <cwchar>
|
||
wchar_t *fgetws( wchar_t *str, int count, FILE *stream ); |
||
Lê a maioria dos personagens
count - 1 largura do fluxo de determinado arquivo e armazena-os em str. A cadeia de produção de largura é sempre NULL terminada. Análise de pára se fim-de-arquivo ocorre ou um caractere de nova linha de largura é encontrado, caso em que str irá conter esse caráter amplo de nova linha.Original:
Reads at most
count - 1 wide characters from the given file stream and stores them in str. The produced wide string is always NULL-terminated. Parsing stops if end-of-file occurs or a newline wide character is found, in which case str will contain that wide newline character.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.
Parâmetros
| str | - | corda larga para ler os caracteres a
Original: wide string to read the characters to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| count | - | o comprimento de
strOriginal: the length of strThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| stream | - | arquivo de fluxo para ler os dados a partir de
Original: file stream to read the data from 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
str no sucesso NULL, em um erroOriginal:
str on success, NULL on an errorThe 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.
Veja também
lê a entrada de caracteres formatada variedade de stdin, um fluxo de arquivo ou um tampão Original: reads formatted wide character input from stdin, a file stream or a buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
recebe um caractere largo de um fluxo de arquivo Original: gets a wide character from a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
escreve uma string de gama a um fluxo de arquivo Original: writes a wide string to a file stream 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 fgetws
| |