This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.0.2 STL problem?
- To: egcs at cygnus dot com
- Subject: Re: egcs-1.0.2 STL problem?
- From: "Pinwu Xu" <pinwu_xu at hotmail dot com>
- Date: Tue, 24 Mar 1998 05:59:40 PST
Hi there,
I've been having problem with the following code section:
#include<proper head>
main()
{
vector<int> a_i_vec(5, 0);
....
}
if I change the main() code to
int dummy_int(0);
vector<int> a_i_vec(5, dummy_int);
it works. You can find the examples for the former code in
several books for STL. It would be appreciated if somebody
could shed a light.
Thanks.
Pinwu
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com