Quote: "how should i set up visual studio to make a simple std::vector working?"
Apart from the basic include and namespace statements:
#include <vector>
using namespace std;
ensure the following are set in the project properties:
Configuration Properties - C++ - Code Generation is set to Multi-Threaded (/MT) both in Debug mode and Release mode. There are no debug libraries for DarkGDK and attempting to link other libraries in Debug mode will produce linker errors as a result if this setting is left as /MTd.
Configuration Properties - Linker - Input - Ignore Specific Library is set to: libcmtd, msvcrt, atls
If these are set then you should have no further problems using Standard Library functions and templates.
No matter how good your code is, someone will improve on it