unexpected end of file
Yeah I know this usually means a semi-colon is missing, but I can't find it. Any guesses?
[edit]: I'm using the VC++ 2005 Express Beta. I've included both files in my project (a wizard-formed .NET application)
//implementation of CCard
#include "CCard.h"
CCard::CCard()
{
mSuit = Spades;
mValue = Ace;
}
CCard::CCard(SUIT suit, int value)
{
mSuit = suit;
mValue = value;
}
And just for fun, here is CCard.h
enum SUIT {Hearts=0, Spades=1, Clubs=2, Diamonds=3};
enum FACECARD {Ace=1, Jack=11, Queen=12, King=13};
class CCard
{
public:
CCard();
CCard(SUIT suit, int value);
private:
SUIT mSuit;
int mValue;
};
#include "CCard.cpp"
|