다음을 통해 공유


<ostream>

Defines the template class basic_ostream, which mediates insertions for the iostreams. The header also defines several related manipulators. (This header is typically included for you by another of the iostreams headers. You rarely need to include it directly.)

#include <ostream>

형식 정의

ostream

Creates a type from basic_ostream that is specialized on char and char_traits specialized on char.

wostream

Creates a type from basic_ostream that is specialized on wchar_t and char_traits specialized on wchar_t.

Manipulators

endl

Terminates a line and flushes the buffer.

ends

Terminates a string.

flush

Flushes the buffer.

스왑

Exchanges the values of the left basic_ostream object parameter for those of the right basic_ostream object parameter.

연산자

함수입니다.<<

Writes various types to the stream.

클래스

basic_ostream

The template class describes an object that controls insertion of elements and encoded objects into a stream buffer.

참고 항목

참조

C++ 표준 라이브러리의 스레드 보안

iostream 프로그래밍

iostreams 규칙

기타 리소스

<ostream> 멤버

C++ 표준 라이브러리 헤더 파일