I tried to find out when my errors appear,
I did make a new project, so i have a totally empty main-function (win32 console app).
I can do everything i want, but when i put the line "#include <map>" inside my file the error comes up again.
The only place where i am using that MAP-part is in the code i copied in my previous post. I tried with moving the "using namespace std;" to my .cpp file, but this doesn't change the number of the errors or the errors. When i moved "using namespace mtl;" also to my .cpp file i had many many...
i got in a file mkv.cpp a function called calculate,
in there i got a variable TV from the type MAP (MAP is defined as:
typedef map <unsigned int, list<Vec*>* > MAP; )
To let the program know that "map <unsigned int, list<Vec*>* >" exists i have the following include
#include <map>.
This...
I'm using Visual C++ 6.0 because i'm using the MTL-library in my project. There is not yet a working version of MTL available for newer versions of Visual C++.
I'm trying to build a parser-program, but when i compile my programm it gives me this error:
c:\program files\microsoft visual studio\vc98\include\map(27) : error C2143: syntax error : missing ';' before 'namespace'
The line where the error seems to be contains the following code:
_STD_BEGIN...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.