Re: Add(Merge) two vectors



"farmer" <sdfarmer@xxxxxxxx> wrote in message
news:1126371548.559327.244430@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> vector<CString> Vect;
> vector<CString> Vect2;
>
> (1)Vect+=Vect2;
> (2)vector<CString>Vect3=Vect+Vect2;
> (3)merge(Vect.begin(),Vect.end(),Vect2.begin(),Vect2.end);

Vect.insert(Vect.end(), Vect2.begin(), Vect2.end());

--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: STL MAP Problem Print out problem
    ... Igor Tandetnik ... With sufficient thrust, pigs fly just fine. ... -- RFC 1925 ... Prev by Date: ...
    (microsoft.public.vc.stl)
  • Re: WebBrowser control references to the instance of iExplorer
    ... Igor Tandetnik ... With sufficient thrust, pigs fly just fine. ... -- RFC 1925 ... Prev by Date: ...
    (microsoft.public.win32.programmer.ole)
  • Re: IHTMLDocument2
    ... Igor Tandetnik ... With sufficient thrust, pigs fly just fine. ... -- RFC 1925 ... Prev by Date: ...
    (microsoft.public.vc.language)
  • Re: Help
    ... Igor Tandetnik ... With sufficient thrust, pigs fly just fine. ... -- RFC 1925 ... Prev by Date: ...
    (microsoft.public.vc.language)
  • Re: Get mouse status
    ... Igor Tandetnik ... With sufficient thrust, pigs fly just fine. ... -- RFC 1925 ... Prev by Date: ...
    (microsoft.public.vc.language)