Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Vectors

 
kevin schmidt
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I've used a vector to collect information for a program. I want to convert the vector to an array, but can't think of how to do that. So, How do you convert a vector into an array? TIA.
kevin
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Object[] myArray = myVector.toArray();
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic