Collections in C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Collections in C++

Is it possible to have collections in C++ like collections in Java? best regards Christof

18th Apr 2017, 1:35 PM
Christof Glose
Christof Glose - avatar
1 Answer
+ 2
There are a few options in STL, depending on your needs. For example, you can use ordered/unorded set/multiset. Or a simple vector, like @luka stated. http://www.cplusplus.com/reference/stl/
18th Apr 2017, 5:21 PM
Denis Felipe
Denis Felipe - avatar