◐ Shell
clean mode source ↗

std::basic_fstream::close — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Ferme le fichier associé .

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.

Appelle effectivement rdbuf()->close(). Si une erreur se produit pendant le fonctionnement, setstate(failbit) est appelé .

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.

Paramètres

(Aucun)

Original:

(none)

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

Retourne la valeur

(Aucun)

Original:

(none)

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

Exemple

Voir aussi

vérifie si le flux a un fichier associé

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.


(fonction membre publique) [edit]

ouvre un fichier et l'associe avec le flux

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.


(fonction membre publique) [edit]