I haven't working on this program in forever, and I compiled it a week ago without any problems.
I opened it today, no changes have been made, and it's giving these errors:
The code is:Quote:
c:\Documents and Settings\Administrator.NABEEL\My Documents\Visual Studio Projects\C++\RELEASE\L!quidBot\AIDLL\cAIBrain.h(15 ): error C2011: 'cAIBrain' : 'class' type redefinition
c:\Documents and Settings\Administrator.NABEEL\My Documents\Visual Studio Projects\C++\RELEASE\L!quidBot\AIDLL\cAIBrain.h(6) : error C2011: 'BLOCK' : 'struct' type redefinition
Code:struct BLOCK {
vector <string> say;
vector <string> resp;
bool nopunc;
int index;
BLOCK *next;
};
class cAIBrain {
...
};