+ 2

what is different vector between array??

7th Jul 2016, 8:35 AM
ramabena
ramabena - avatar
3 Respuestas
+ 1
When declaring an array you assign a fixed size, a vector can always get more elements.
7th Jul 2016, 10:21 AM
Mike
0
array memory I static, vector is dynamic
7th Jul 2016, 4:30 PM
destro
0
arrays are like a vending machine. vectors on the other hand is like a fully automated sushi bar, the ones were sushie rolls around on a track.
14th Aug 2016, 1:30 AM
Darcy Tellier
Darcy Tellier - avatar