Is it possible to implement vectors in VB.net as done in C++? If not, how
can I declare an object that is a collection of integers similar to a
vector?
Is it possible to implement vectors in VB.net as done in C++? If not, how
can I declare an object that is a collection of integers similar to a
vector?
Is it possible to implement vectors in VB.net as done in C++? If not, how
can I declare an object that is a collection of integers similar to a
vector?
Hmmm, System.Collections.Generic.List is probably the closest to the
STL Vector class... Assuming your are using VB2005. If you are using
a previous version, then look at the System.Collections.ArrayList
class - though, it won't be as efficient because it takes type object
and so you will have boxing overhead with value types such as integer.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.