myException copy 2 - //winLog << " ==> error...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include "myException.h" // #include ". .\myLog\myLog.h" // using namespace std; / { initVars(); errorCode = errCode; if ( errMsg[0] ) errorMsg.append(errMsg); } void myException::initVars() { errorCode = 0; errorMsg = ""; } void myException::response() { //winLog << "Error detect: " << endl;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: //winLog << " ==> error code: " << errorCode << endl; //winLog << " ==> error message: " << errorMsg << endl; = cout << "Error detect: " << endl; cout << " ==> error code: " << errorCode << endl; cout << " ==> error message: " << errorMsg << endl; cout.flush(); }...
View Full Document

This note was uploaded on 03/27/2011 for the course COMPUTER 101 taught by Professor Bobthebuilder during the Spring '11 term at Columbia College.

Ask a homework question - tutors are online