C++ print as error code example
Example: c++ print to standard error
#include<iostream>
int main(){
std::cerr << "this is a message for stdandard error" << std::endl;
return 0;
}
#include<iostream>
int main(){
std::cerr << "this is a message for stdandard error" << std::endl;
return 0;
}