add a c++ cerr operat