basic_ostream::write

字符将在流。

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

参数

  • _Count
    将的计数字符到流中。

  • _Str
    将字符放到的流。

返回值

为 basic_ostream 对象的引用。

备注

无格式的输出功能 插入 _Count 元素序列开始在 _Str中。

示例

使用 write的示例,请参见 streamsize

要求

页眉: <ostream>

命名空间: std

请参见

参考

basic_ostream 类

iostream 编程

iostreams 约定