If you have the same problem I did, you have to enable multithreading in your project properties...
This means changing the code generation to multithreaded by right clicking your project in the solution explorer, clicking properties on the bottom, then select c/c++ then code generation, then change runtime libary to multithreaded. I attached an image to my post to help show what I am talking about...
settings were changed when you created your gdk project... needless to say you cannot declare using namespace std; and instead must declare it EVERY time you may decide to use it. IE, std::vector< int> or std::fstream file("some.txt").
If this is not what is causing the issue, please ignore me then...