Jump to content
  • Advertisement
Sign in to follow this  
donjonson

ok please dont laugh at my question

This topic is 4817 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
A vector is a managed array. A vector remembers the size of the array, remembers the number of used entries and automatically allocates a new array and copies the contents of the old one if the old array is full and you add 1 more entry.

Share this post


Link to post
Share on other sites
If you are talking about the C++ array than there are many advantages:
Easy to use
Can be resized
More safe
Generic iterators and other functions become available

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!