#include"errmsg.h" using namespace std; ErrMsg::ErrMsg(string c, string m) { caller=c; message=m; } ErrMsg::~ErrMsg() {} void ErrMsg::print_message() { cerr<<"**Severe Error in \""<<caller<<"\": "<<message<<'\n'; cerr<<"Quitting now."<<'\n'; }