I allready asked a question about this inside JoBe's Thread about the stl <map> (http://www.daniweb.com/techtalkforums/post252520-10.html), but maybe it's better if i make a new thread about it.
The problem is, when i try to use <map> inside my project i get 2 errors:
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(16) : error C2143: syntax error : missing ';' before 'namespace'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(16) : error C2501: 'B' : missing storage-class or type specifiers
When i make a new project (win32 console app), so i have a totally empty main-function everything is fine, i can do everything i want.
when i put the following line inside my file:
i get the 2 errors again.
what's going on here?