다음을 통해 공유


basic_ostream::write

Put characters in a stream.

basic_ostream<_Elem, _Tr>& write(
    const char_type *_Str,
    streamsize _Count
);

매개 변수

  • _Count
    Count of characters to put into the stream.

  • _Str
    Characters to put into the stream.

반환 값

A reference to the basic_ostream object.

설명

The unformatted output function inserts the sequence of _Count elements beginning at _Str.

예제

See streamsize for an example using write.

요구 사항

Header: <ostream>

네임스페이스: std

참고 항목

참조

basic_ostream 클래스

iostream 프로그래밍

iostreams 규칙