std::ios_base::Init
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> class Init; |
||
Questa classe viene utilizzata per assicurare che il C + + standard stream (std::cin, std::cout, ecc) sono correttamente inizializzato e distrutti. La classe traccia del numero di istanze di esso vengono creati e inizializza i flussi di C + +, quando la prima istanza è costruito così come vampate i flussi in uscita quando l'ultima istanza è distrutto.
Original:
This class is used to ensure that the default C++ streams (std::cin, std::cout, etc.) are properly initialized and destructed. The class tracks how many instances of it are created and initializes the C++ streams when the first instance is constructed as well as flushes the output streams when the last instance is destructed.
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.
Membri funzioni
(costruttore) |
if *this is the first instance created, initializes the default C++ streams (metodo pubblico) |
(destructor) |
if *this is the last instance created, flushes the default C++ streams (metodo pubblico) |
Vedi anche
legge dal flusso di input standard di C stdin
(oggetto globale) Original: reads from the standard C input stream stdin (oggetto globale) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
scrive nel flusso di output standard di stdout
(oggetto globale) C Original: writes to the standard C output stream stdout (oggetto globale) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
scrive nel flusso di errore standard di C stderr, unbuffered
(oggetto globale) Original: writes to the standard C error stream stderr, unbuffered (oggetto globale) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
scrive allo standard stderr
(oggetto globale) flusso di errore C Original: writes to the standard C error stream stderr (oggetto globale) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |