std::ios_base::setf
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. |
| fmtflags setf( fmtflags flags ); |
(1) | |
| fmtflags setf( fmtflags flags, fmtflags mask ); |
(2) | |
Define os sinalizadores de formatação para as configurações especificadas.
1) Original:
Sets the formatting flags to specified settings.
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.
Define os sinalizadores de formatação para bandeiras
2) Original:
Sets the formatting flags to flags
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.
Limpa as bandeiras de formatação sob
mask, e define os sinalizadores apuradas para os especificados por flags. Essencialmente, a operação seguinte é executada (flags & mask) onde fl define o estado das bandeiras de formatação interna.Original:
Clears the formatting flags under
mask, and sets the cleared flags to those specified by flags. Essentially the following operation is performed (flags & mask) where fl defines the state of internal formatting flags.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
| flags, mask | - | configuração nova formatação.
mask define quais bandeiras podem ser alteradas, flags define quais bandeiras daqueles a ser alterado deve ser definido (os outros serão apagados). Ambos os parâmetros podem ser uma combinação das seguintes constantes:
Original: new formatting setting. mask defines which flags can be altered, flags defines which flags of those to be altered should be set (others will be cleared). Both parameters can be a combination of the following constants:
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
as bandeiras de formatação antes da chamada para a função
Original:
the formatting flags before the call to the function
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
| This section is incomplete Reason: no example |
[editar] Veja também
| administra sinalizadores de formato Original: manages format flags The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro) | |
| clears specific format flag (função pública membro) | |