◐ Shell
clean mode source ↗

std::basic_ifstream::close – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

Schließt die zugehörige Datei .

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.

Effektiv nennt rdbuf()->close(). Wenn ein Fehler während des Betriebes auftritt, wird setstate(failbit) genannt .

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.

Parameter

(None)

Original:

(none)

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

Rückgabewert

(None)

Original:

(none)

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

Beispiel

Siehe auch

prüft, ob der Stream eine zugehörige Datei hat

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.


(öffentliche Elementfunktion) [edit]

öffnet eine Datei und ordnet sie mit dem Strom

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.


(öffentliche Elementfunktion) [edit]