# fstream File Reference

Go to the source code of this file.

## Classes

- class std::basic_filebuf< _CharT, _Traits >
    The actual work of input and output (for files).This class associates both its input and output sequence with an external disk file, and maintains a joint file position for both sequences. Many of its semantics are described in terms of similar behavior in the Standard C Library's `FILE` streams. More...
- class std::basic_fstream< _CharT, _Traits >
    Controlling input and output for files.This class supports reading from and writing to named files, using the inherited functions from std::basic_iostream. To control the associated sequence, an instance of std::basic_filebuf is used, which this page refers to as `sb`. More...
- class std::basic_ifstream< _CharT, _Traits >
    Controlling input for files.This class supports reading from named files, using the inherited functions from std::basic_istream. To control the associated sequence, an instance of std::basic_filebuf is used, which this page refers to as `sb`. More...
- class std::basic_ofstream< _CharT, _Traits >
    Controlling output for files.This class supports reading from named files, using the inherited functions from std::basic_ostream. To control the associated sequence, an instance of std::basic_filebuf is used, which this page refers to as `sb`. More...

## Namespaces

- namespace std

## Detailed Description

This is a Standard C++ Library header.

Definition in file fstream.