// C++标准日志流#include iostreamusing namespace std;int main() {char str[] = Unable to read....;

编程学习网为您整理以下代码实例,主要实现:C++标准日志流,希望可以帮到各位朋友。

// C++标准日志流
#include <iostream>

using namespace std;

int main() {
   char str[] = "Unable to read....";

   clog << "Error message : " << str << endl;
}