std::ios_base::openmode
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. |
typedef /*implementation defined*/ openmode; |
||
static constexpr openmode app = /*implementation defined*/ static constexpr openmode binary = /*implementation defined*/ |
||
Especifica os sinalizadores de arquivos disponíveis abertos. É um
BitmaskType
, as seguintes constantes são definidas: Original:
Specifies available file open flags. It is a
BitmaskType
, the following constants are defined: 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.
Constante
Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Explanation |
app | procurar o fim do fluxo antes de cada gravação
Original: seek to the end of stream before each write The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
binary | abrir em modo binário
Original: open in binary mode The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
in | Abrir para leitura
Original: open for reading The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
out | abrir para escrita
Original: open for writing The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
trunc | descartar o conteúdo da corrente durante a abertura
Original: discard the contents of the stream when opening The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
ate | procurar o fim do fluxo imediatamente depois de aberto
Original: seek to the end of stream immediately after open The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Exemplo
Esta seção está incompleta Motivo: sem exemplo |