2 Replies - 271 Views - Last Post: 07 April 2010 - 05:34 AM Rate Topic: -----

#1 SamanSk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 05-April 10

Vector

Posted 07 April 2010 - 05:25 AM

Hi,I wanted to know if we can create a vector from vectors!?...vector<vector>NAME...and if we can how should i write constructor for this?
Is This A Good Question/Topic? 0
  • +

Replies To: Vector

#2 Skaggles  Icon User is offline

  • THE PEN IS MIGHTIER
  • member icon





Reputation: 251
  • View blog
  • Posts: 640
  • Joined: 01-March 09

Re: Vector

Posted 07 April 2010 - 05:27 AM

Believe you can with something like vector<vector<string>> variableName
Was This Post Helpful? 0
  • +
  • -

#3 n8wxs  Icon User is offline

  • --... ...-- -.. . -. ---.. .-- -..- ...
  • member icon

Reputation: 972
  • View blog
  • Posts: 3,878
  • Joined: 07-January 08

Re: Vector

Posted 07 April 2010 - 05:34 AM

Have a look at: 2D Vector

post #4 has some example code.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1