◐ Shell
clean mode source ↗

std::basic_ofstream::close - cppreference.com

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.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

Chiude il file associato.

Original:

Closes the associated file.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Chiama efficacemente rdbuf()->close(). Se si verifica un errore durante il funzionamento, setstate(failbit) si chiama.

Original:

Effectively calls rdbuf()->close(). If an error occurs during operation, setstate(failbit) is called.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parametri

(Nessuno)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valore di ritorno

(Nessuno)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Esempio

Vedi anche

controlla se il flusso è associato un file

Original:

checks if the stream has an associated file

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]

apre un file e lo associa con il flusso

Original:

opens a file and associates it with the stream

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]