| title | <fstream> | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | article | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | 660de351-0489-41df-b239-40e0cdcab46b | |||||||||||||
| caps.latest.revision | 19 | |||||||||||||
| author | corob-msft | |||||||||||||
| ms.author | corob | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
Defines several classes that support iostreams operations on sequences stored in external files.
#include <fstream>
| filebuf | A type basic_filebuf specialized on char template parameters. |
| fstream | A type basic_fstream specialized on char template parameters. |
| ifstream | A type basic_ifstream specialized on char template parameters. |
| ofstream | A type basic_ofstream specialized on char template parameters. |
| wfstream | A type basic_fstream specialized on wchar_t template parameters. |
| wifstream | A type basic_ifstream specialized on wchar_t template parameters. |
| wofstream | A type basic_ofstream specialized on wchar_t template parameters. |
| wfilebuf | A type basic_filebuf specialized on wchar_t template parameters. |
| basic_filebuf | The template class describes a stream buffer that controls the transmission of elements of type Elem, whose character traits are determined by the class Tr, to and from a sequence of elements stored in an external file. |
| basic_fstream | The template class describes an object that controls insertion and extraction of elements and encoded objects using a stream buffer of class basic_filebuf<Elem, Tr>, with elements of type Elem, whose character traits are determined by the class Tr. |
| basic_ifstream | The template class describes an object that controls extraction of elements and encoded objects from a stream buffer of class basic_filebuf<Elem, Tr>, with elements of type Elem, whose character traits are determined by the class Tr. |
| basic_ofstream | The template class describes an object that controls insertion of elements and encoded objects into a stream buffer of class basic_filebuf<Elem, Tr>, with elements of type Elem, whose character traits are determined by the class Tr. |
Header Files Reference
Thread Safety in the C++ Standard Library
iostream Programming
iostreams Conventions