vector and list

This is a discussion on vector and list within the C++ Programming forums, part of the General Programming Boards category; I am writing some code and what I want to do the following 2 things: Say I have a vector ...

  1. #1
    Unregistered
    Guest

    vector and list

    I am writing some code and what I want to do the following 2 things:

    Say I have a vector <string> named A. And I want to create a new list <string> and I will call it B. I want it to contain ther same string in the same order.

    I have a vector <string> named A. And I want to append its contents an existing list <string> and I will call it B. I want it to contain ther same string in the same order.


    Can any one please help?
    Thanks
    Bill R.

  2. #2
    zen
    zen is offline
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    What parts are you stuck on?
    zen

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21