Have you considered the use of std::vector?
You do not need to use the typedef as you did since this is C++.
Have you considered the use of std::vector?
You do not need to use the typedef as you did since this is C++.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
I couldn't get vectors to work. I was running into following messages which I didn't understand. If someone can provide the syntax, I am more than willing to switch to vectors
LINK : test.dll not found or not built by the last incremental link; performing full link
mysolver.def : warning LNK4102: export of deleting destructor 'public: virtual void * __ptr64 __cdecl std::bad_alloc::`scalar deleting destructor'(unsigned int)
__ptr64'; image may not run correctly
mysolver.def : warning LNK4102: export of deleting destructor 'public: virtual void * __ptr64 __cdecl std::length_error::`scalar deleting destructor'(unsigned i
nt) __ptr64'; image may not run correctly
mysolver.def : warning LNK4102: export of deleting destructor 'public: virtual void * __ptr64 __cdecl std::logic_error::`scalar deleting destructor'(unsigned in
t) __ptr64'; image may not run correctly
Creating library test.lib and object test.exp