why do i alway receive linking errors when i use vector or stack STL
#include "DarkGDK.h"
#include <stack>
using namespace std;
// the main entry point for the application is this function
void function();
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
stack<int> stl;
stl.push(100);
dbSyncOn ( );
dbSyncRate ( 60 );
function();
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}
im testing if stack and vectors will work in dark GDK because it is a requirment for my project..
your help will be appreciated (just new in this forum
)