次の方法で共有


clog

Specifies the clog global stream.

extern ostream clog;

Return Value

An ostream object.

Remarks

The object controls buffered insertions to the standard error output as a byte stream.

Example

See cerr for an example of using clog.

Requirements

Header: <iostream>

Namespace: std

See Also

Concepts

<iostream> Members

ostream

iostream Programming

iostreams Conventions