Namespace
Varianti

std::ios_base::setf

Da cppreference.com.
< cpp‎ | io‎ | ios base

 
 
Ingresso / libreria di output
I / O manipolatori
C-style I / O
Buffer
Original:
Buffers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_streambuf
basic_filebuf
basic_stringbuf
strstreambuf(deprecato)
Streams
Original:
Streams
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Astrazioni
Original:
Abstractions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base
basic_ios
basic_istream
basic_ostream
basic_iostream
File I / O
Original:
File I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_ifstream
basic_ofstream
basic_fstream
String I / O
Original:
String I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_istringstream
basic_ostringstream
basic_stringstream
Array I / O
Original:
Array I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
istrstream(deprecato)
ostrstream(deprecato)
strstream(deprecato)
Tipi
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
streamoff
streamsize
fpos
Errore categoria interfaccia
Original:
Error category interface
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iostream_category(C++11)
io_errc(C++11)
 
std::ios_base
Membri funzioni
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base::ios_base
ios_base::~ios_base
Formattazione
Original:
Formatting
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base::flags
ios_base::setf
ios_base::unsetf
ios_base::precision
ios_base::width
Versioni locali
Original:
Locales
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base::imbue
ios_base::getloc
Interno di matrice estensibile
Original:
Internal extensible array
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base::xalloc
ios_base::iword
ios_base::pword
Varie
Original:
Miscellaneous
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base::register_callback
ios_base::sync_with_stdio
Membri classi
Original:
Member classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base::failure
ios_base::Init
Membri tipi
Original:
Member types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base::openmode
ios_base::fmtflags
ios_base::iostate
ios_base::seekdir
ios_base::event
ios_base::event_callback
 
fmtflags setf( fmtflags flags );
(1)
fmtflags setf( fmtflags flags, fmtflags mask );
(2)
Imposta i flag di formattazione alle impostazioni specificate.
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.
1)
Consente di impostare i flag di formattazione alle bandiere
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.
2)
Cancella i flag di formattazione sotto mask, e imposta i flag liquidati a quelli specificati da flags. Essenzialmente la seguente operazione viene eseguita  (flags & mask) dove fl definisce lo stato di flag di formattazione interne.
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.

Indice

[modifica] Parametri

flags, mask -
formattazione nuova impostazione. mask definisce quali parametri possono essere modificati, flags definisce quali bandiere di quelle da modificare deve essere impostato (gli altri verranno cancellati). Entrambi i parametri possono essere una combinazione delle seguenti costanti:
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 operazioni
Original:
dec|oct|hex|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.
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.
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:
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 operazioni
Original:
dec|oct|hex|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.
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.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Valore di ritorno

le bandiere di formattazione prima della chiamata alla funzione
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.

[modifica] Esempio

[modifica] 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) [modifica]
clears specific format flag
(metodo pubblico) [modifica]