|
From: Richard A. <dic...@ho...> - 2001-03-26 01:29:54
|
posted this on the forum but hoping that more people will read it here...
i've had some real problems using the stl in programs compiled for windows
(i.e. no console)... vector::push_back, the string constructor and the list
constructor will all cause runtime errors...
does anyone know how to sort this out, or am i going to have to write my own
stl?
here's an example of some code that will die
#include <list>
#include "windows.h"
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
list<int> li;
return 0;
}
thanks in advance,
richard
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
|