C++标准错误流

// C++标准错误流
#include <iostream>

using namespace std;

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

   cerr << Error message :  << str << endl;
}

相关文章

#include <iostream> using namespace std; int mai...
#include <iostream> using namespace std; int mai...
// #include <iostream> using namespace std; int...
#include <iostream> #include <string> using...
#include <iostream> #include <cstring> usin...
#include <iostream> using namespace std; int mai...