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
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
On Oct 12, 2012, at 10:08 AM, TianTian <syrttg...@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!
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
> On Oct 12, 2012, at 10:08 AM, TianTian <syrttg...@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