get errors , c2011-'validDate' refintion

May 30, 2011 at 21:55:38
Specs: Windows 7
//#ifndef InvalidDate_h
//#define InvalidDate_h
#include <iostream>
#include <exception>

using namespace std;

class InvalidDate : public exception
{
public:
InvalidDate() : exception(" Error! INVALID DATA"){}
};// end of InvalidDate class
//#endif


See More: get errors , c2011-validDate refintion

Report •


#1
May 31, 2011 at 06:09:24
//#ifndef InvalidDate_h
//#define InvalidDate_h

Question: Why are the #include guards commented out?

How To Ask Questions The Smart Way


Report •
Related Solutions


Ask Question