By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,332 Members | 1,404 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,332 IT Pros & Developers. It's quick & easy.

C++ vector type

P: n/a
I'm learning c++ and I don't understand what are vectors in c++. Any
pointers to external help, or even better, if you can help me know what they
are (haven't found much docu)

Thanks in advance
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Marduk" <gu************@sympatico.ca> wrote in message
news:%u*******************@news20.bellglobal.com.. .
I'm learning c++ and I don't understand what are vectors in c++. Any
pointers to external help, or even better, if you can help me know what they are (haven't found much docu)


Consider vectors as arrays on steroids. With std::vector dynamic
resizing, inserting and removing elements...etc is much easier than with
arrays. The documentation that came with of your compiler and/or library
implmentation should discuss this and so should the book you are using
to learn C++.

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.