◐ Shell
clean mode source ↗

std::basic_fstream::close - cppreference.com

De cppreference.com

Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.

La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí.

Cierra el archivo asociado .

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.

Efectivamente llama rdbuf()->close(). Si ocurre un error durante la operación, setstate(failbit) se llama .

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.

Parámetros

(Ninguno)

Original:

(none)

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

Valor de retorno

(Ninguno)

Original:

(none)

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

Ejemplo

Ver también

Comprueba si el flujo tiene un archivo asociado

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.


(función miembro pública) [editar]

abre un archivo y lo asocia con la corriente

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.


(función miembro pública) [editar]