I am having a lot of trouble figuring this out, as this C++ code is above my skillset. I am trying to do a custom build of aliens verses predator. I have spent several hours fixing all the errors and bugs (compiling with Visual Studio 2005). I have everything fixed but this:
My errors are:
These lines give me the error:
The entire source file is attached
I found another thread on this forum with a problem with this file. It didn't seem to be the same issue. I did try adding "this->" to the Iterator variables. That didn't fix it. I've about given up. Can anyone offer any help? Thanks.
My errors are:
Code:
c:\backups\avptools\fox editing tools\avp_vc\3dc\win95\hash_tem.hpp(815) : error C2143: syntax error : missing ';' before '*'
c:\backups\avptools\fox editing tools\avp_vc\3dc\win95\hash_tem.hpp(815) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\backups\avptools\fox editing tools\avp_vc\3dc\win95\hash_tem.hpp(815) : fatal error C1903: unable to recover from previous error(s); stopping compilation
These lines give me the error:
Code:
template <class TYPE,class ARG_TYPE,class CMP_ARG_TYPE> _base_HashTable<TYPE,ARG_TYPE,CMP_ARG_TYPE>::Node* _base_HashTable<TYPE,ARG_TYPE,CMP_ARG_TYPE>::NewNode(ARG_TYPE _dataR,Node * _nextP)
{
return new Node(_dataR,_nextP);
}
template <class TYPE,class ARG_TYPE,class CMP_ARG_TYPE>_base_HashTable<TYPE,ARG_TYPE,CMP_ARG_TYPE>::Node* _base_HashTable<TYPE,ARG_TYPE,CMP_ARG_TYPE>::NewNode()
{
return new Node;
}
The entire source file is attached
I found another thread on this forum with a problem with this file. It didn't seem to be the same issue. I did try adding "this->" to the Iterator variables. That didn't fix it. I've about given up. Can anyone offer any help? Thanks.