std::ios_base::fmtflags
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody> typedef /*implementation defined*/ fmtflags; |
||
static constexpr fmtflags dec = /*implementation defined*/ static constexpr fmtflags oct = /*implementation defined*/ static constexpr fmtflags hex = /*implementation defined*/ static constexpr fmtflags basefield = /*implementation defined (dec | oct | hex)*/ |
||
static constexpr fmtflags left = /*implementation defined*/ static constexpr fmtflags right = /*implementation defined*/ static constexpr fmtflags internal = /*implementation defined*/ static constexpr fmtflags adjustfield = /*implementation defined (left | right | internal)*/ |
||
static constexpr fmtflags scientific = /*implementation defined*/ static constexpr fmtflags fixed = /*implementation defined*/ static constexpr fmtflags floatfield = /*implementation defined (scientific | fixed)*/ |
||
static constexpr fmtflags boolalpha = /*implementation defined*/ static constexpr fmtflags showbase = /*implementation defined*/ static constexpr fmtflags showpoint = /*implementation defined*/ static constexpr fmtflags showpos = /*implementation defined*/ static constexpr fmtflags skipws = /*implementation defined*/ static constexpr fmtflags unitbut = /*implementation defined*/ static constexpr fmtflags uppercase = /*implementation defined*/ |
||
Specifica i flag di formattazione disponibili. È un
BitmaskType, le costanti sono: Original:
Specifies available formatting 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.
Constant
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 |
| dec | utilizzare base decimale per intero I / O
Original: use decimal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| oct | utilizzare ottale base per intero di I / O
Original: use octal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| hex | utilizzare base esadecimale per intero I / O
Original: use hexadecimal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| basefield | dec|oct|hex|0. Utile per mascherare operazioniOriginal: dec|oct|hex|0. Useful for masking operationsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| left | regolazione sinistra (aggiunge caratteri di riempimento a destra)
Original: left adjustment (adds fill characters to the right) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| right | giusta regolazione (aggiunge caratteri di riempimento a sinistra)
Original: right adjustment (adds fill characters to the left) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| internal | regolazione interna (aggiunge caratteri di riempimento fino al punto interno designato)
Original: internal adjustment (adds fill characters to the internal designated point) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| adjustfield | left|right|internal. Utile per mascherare operazioni Original: left|right|internal. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| scientific | generare tipi in virgola mobile con la notazione scientifica, o la notazione esadecimale se combinato con fisso
Original: generate floating point types using scientific notation, or hex notation if combined with fixed The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| fixed | generare tipi in virgola mobile con la notazione fissa, o la notazione esadecimale, se combinata con scientifica
Original: generate floating point types using fixed notation, or hex notation if combined with scientific The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| floatfield | scientific|fixed|(scientific|fixed)|0. Utile per mascherare operazioni Original: scientific|fixed|(scientific|fixed)|0. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| boolalpha | inserire ed estrarre tipo
bool in formato alfanumerico Original: insert and extract bool type in alphanumeric format The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| showbase | generare un prefisso che indica la base numerica per l'uscita numero intero, richiedono l'indicatore valuta monetaria di I / O
Original: generate a prefix indicating the numeric base for integer output, require the currency indicator in monetary I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| showpoint | generare un punto decimale carattere incondizionatamente per la virgola mobile il numero di uscita
Original: generate a decimal-point character unconditionally for floating-point number output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| showpos | generare un carattere
+ per non negativo output numerico Original: generate a + character for non-negative numeric output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| skipws | saltare gli spazi iniziali prima di operazioni di input specifici
Original: skip leading whitespace before certain input operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| unitbuf | lavare l'uscita dopo ogni operazione di uscita
Original: flush the output after each output operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| uppercase | sostituire alcune lettere minuscole con le loro uppercase
equivalents in alcune operazioni di uscita di uscita Original: replace certain lowercase letters with their uppercase equivalents in certain output output operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Esempio
| This section is incomplete Reason: no example |
Vedi anche
gestisce i flag di 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. (metodo pubblico) | |
imposta flag specifico formato Original: sets specific format flag The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
| clears specific format flag (metodo pubblico) | |
modifica la base utilizzata per intero di I / O Original: changes the base used for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
cambia il carattere di riempimento Original: changes the fill character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
(C++11) (C++11) |
Le modifiche di formattazione utilizzati per floating-point I / O Original: changes formatting used for floating-point I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) |
controlla se il prefisso è usato per indicare base numerica Original: controls whether prefix is used to indicate numeric base The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
passa tra la rappresentazione testuale e numerica di valori booleani Original: switches between textual and numeric representation of booleans The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
controlla se il segno + utilizzati con numeri non negativiOriginal: controls whether the + sign used with non-negative numbersThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
controlla se il punto decimale è sempre inclusi in virgola mobile Original: controls whether decimal point is always included in floating-point representation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
controlla se l'uscita viene lavata dopo ogni operazione Original: controls whether output is flushed after each operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
Controlla se spazi bianchi è saltato in ingresso Original: controls whether leading whitespace is skipped on input The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
| controls whether uppercase characters are used with some output formats (funzione) | |