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
Arraylist in cpp
Arraylist in cpp
Feb 7, 2014 at 8:24pm UTC
weslleymurdock
(2)
Hi guys.
I have a curiosity to be remedied. I wonder if C + + has some library that implements an infinite array, as has the arraylist in java class, or vector class (also in java).
Thankful for the attention.
Feb 7, 2014 at 8:27pm UTC
Cubbi
(4774)
Yes, it is called
std::vector
in C++
http://www.cplusplus.com/reference/vector/vector/
http://en.cppreference.com/w/cpp/container/vector
(there are other containers, too, but vector is the most versatile)
Feb 7, 2014 at 8:57pm UTC
weslleymurdock
(2)
Thanks, my friend
Topic archived. No new replies allowed.