cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
handling collections
handling collections
Nov 21, 2008 at 3:21pm UTC
brabrarob
(1)
I'm a c++ newbie and would like to know what is the best way to handle collections: vector template or arrays ? thanx in advance
Nov 21, 2008 at 3:30pm UTC
Bazzy
(6281)
With a
vector
you could add elements so it is better but it isn't the only container, if you need to add or remove
elements frequently a
list
should be better
http://www.cplusplus.com/reference/stl/list/
Last edited on
Nov 21, 2008 at 3:30pm UTC
Topic archived. No new replies allowed.