Basicly: I add vector to program and try to compile and following linker errors come. Anybody ideas how I could get them working? VS2008 express edition is the programming software I'm using for this C++ code.
1>libcpmtd.lib(xdebug.obj) : warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
1>game.obj : error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "public: class ship & __thiscall std::vector<class ship,class std::allocator<class ship> >::operator[](unsigned int)" (??A?$vector@Vship@@V?$allocator@Vship@@@std@@@std@@QAEAAVship@@I@Z)
1>libcpmtd.lib(stdthrow.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW
1>libcpmtd.lib(xdebug.obj) : error LNK2019: unresolved external symbol __malloc_dbg referenced in function "void * __cdecl operator new(unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (??2@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z)
1>libcpmtd.lib(xdebug.obj) : error LNK2019: unresolved external symbol __free_dbg referenced in function "void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const &,char *,int)" (??3@YAXPAXABU_DebugHeapTag_t@std@@PADH@Z)
1>DebugSpaceWar.exe : fatal error LNK1120: 3 unresolved externals
Hopefully somebody has some idea what these messages are for. Shouldn't vectors being easy to add to program? What with them being STL and all?