From: Mark Mitchell <mmitchell@usa.net>
To: pinwu_xu@hotmail.com
Cc: egcs@cygnus.com
Subject: Re: egcs-1.0.2 STL problem?
Date: Wed, 25 Mar 1998 23:43:00 -0000 [thread overview]
Message-ID: <199803260647.WAA02523@mail.earthlink.net> (raw)
In-Reply-To: <19980324135940.29107.qmail@hotmail.com>
>>>>> "Pinwu" == Pinwu Xu <pinwu_xu@hotmail.com> writes:
Pinwu> Hi there, I've been having problem with the following code
Pinwu> section:
Pinwu> #include<proper head>
Pinwu> main() { vector<int> a_i_vec(5, 0); .... }
Pinwu> if I change the main() code to int dummy_int(0);
Pinwu> vector<int> a_i_vec(5, dummy_int);
Pinwu> it works. You can find the examples for the former code in
Pinwu> several books for STL. It would be appreciated if somebody
Pinwu> could shed a light.
I believe some discussion of this is in the FAQ.
Pinwu> Thanks.
Pinwu> Pinwu
Pinwu> ______________________________________________________ Get
Pinwu> Your Private, Free Email at http://www.hotmail.com
--
Mark Mitchell <mmitchell@usa.net>
http://home.earthlink.net/~mbmitchell
Consulting Services Available
next prev parent reply other threads:[~1998-03-25 23:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-24 13:00 Pinwu Xu
1998-03-25 14:00 ` Ross Smith
1998-03-25 14:18 ` Joe Buck
1998-03-25 17:22 ` Alexandre Oliva
1998-03-25 23:43 ` Mark Mitchell [this message]
1998-03-25 23:56 ` Branko Cibej
[not found] ` <orsoo6sg5n.fsf.cygnus.egcs@zecarneiro.lsd.dcc.unicamp.br>
1998-04-10 20:10 ` Nathan Myers
1998-03-25 17:22 Pinwu Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199803260647.WAA02523@mail.earthlink.net \
--to=mmitchell@usa.net \
--cc=egcs@cygnus.com \
--cc=pinwu_xu@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).