You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The simplest use of iostreams requires only that you include the header [\<iostream>](../standard-library/iostream.md). You can then extract values from [cin](../standard-library/iostream.md#cin) or [wcin](../standard-library/iostream.md#wcin) to read the standard input. The rules for doing so are outlined in the description of the class [basic_istream Class](../standard-library/basic-istream-class.md). You can also insert values to [cout](../standard-library/iostream.md#cout) or [wcout](../standard-library/iostream.md#wcout) to write the standard output. The rules for doing so are outlined in the description of the class [basic_ostream Class](../standard-library/basic-ostream-class.md). Format control common to both extractors and insertors is managed by the class [basic_ios Class](../standard-library/basic-ios-class.md). Manipulating this format information in the guise of extracting and inserting objects is the province of several manipulators.
23
+
The simplest use of iostreams requires only that you include the header [`<iostream>`](../standard-library/iostream.md). You can then extract values from [`cin`](../standard-library/iostream.md#cin) or [`wcin`](../standard-library/iostream.md#wcin) to read the standard input. The rules for doing so are outlined in the description of the class [`basic_istream` Class](../standard-library/basic-istream-class.md). You can also insert values to [`cout`](../standard-library/iostream.md#cout) or [`wcout`](../standard-library/iostream.md#wcout) to write the standard output. The rules for doing so are outlined in the description of the class [`basic_ostream` Class](../standard-library/basic-ostream-class.md). Format control common to both extractors and insertors is managed by the class [`basic_ios` Class](../standard-library/basic-ios-class.md). Manipulating this format information in the guise of extracting and inserting objects is the province of several manipulators.
24
24
25
-
You can perform the same iostreams operations on files that you open by name, using the classes declared in [\<fstream>](../standard-library/fstream.md). To convert between iostreams and objects of class [basic_string Class](../standard-library/basic-string-class.md), use the classes declared in [\<sstream>](../standard-library/sstream.md). To do the same with C strings, use the classes declared in [\<strstream>](../standard-library/strstream.md).
25
+
You can perform the same iostreams operations on files that you open by name, using the classes declared in [`<fstream>`](../standard-library/fstream.md). To convert between iostreams and objects of class [`basic_string` Class](../standard-library/basic-string-class.md), use the classes declared in [`<sstream>`](../standard-library/sstream.md). To do the same with C strings, use the classes declared in [`<strstream>`](../standard-library/strstream.md).
26
26
27
27
The remaining headers provide support services, typically of direct interest to only the most advanced users of the iostreams classes.
28
28
29
29
## See also
30
30
31
31
[C++ Standard Library Overview](../standard-library/cpp-standard-library-overview.md)\
0 commit comments