vector

68 views
Skip to first unread message

TianTian

unread,
Oct 9, 2012, 4:55:57 PM10/9/12
to ppp-p...@googlegroups.com
Hi,
Did anyone read the chapter17-19? Does anyone know how to write the
constructor vector(vector&) and operator= when using template introduced
in chapter19?
Tian Tian
Message has been deleted

TianTian

unread,
Oct 12, 2012, 10:08:18 AM10/12/12
to ppp-p...@googlegroups.com
Hi, everyone. Does anyone have a complete code of vector described in
chapter17-20? I find some difficulties to write a version of my own
vector. So I need a complete code as reference. Thanks!
Tian Tian

Art Werschulz

unread,
Oct 12, 2012, 10:14:10 AM10/12/12
to ppp-p...@googlegroups.com
Hi.

On Oct 12, 2012, at 10:08 AM, TianTian <syrt...@gmail.com> wrote:

> Hi, everyone. Does anyone have a complete code of vector described in chapter17-20? I find some difficulties to write a version of my own vector. So I need a complete code as reference. Thanks!

Have you looked at the complete collection of code fragments, found on the author's website (http://www.stroustrup.com/Programming)?

Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker
GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y?
Internet: agw STRUDEL comcast.net



TianTian

unread,
Oct 12, 2012, 10:17:40 AM10/12/12
to ppp-p...@googlegroups.com
I have looked at complete collection of code fragments, but that are
code fragments. I want to find a version of complete code of vector.
Thanks.
Reply all
Reply to author
Forward
0 new messages