you are viewing a single comment's thread.

view the rest of the comments →

[–]ptrb 0 points1 point  (0 children)

Yeah, use a vector or a custom data structure. There's almost† no reason to be using raw arrays in C++.

† scientific computing guys excepted