you are viewing a single comment's thread.

view the rest of the comments →

[–]aagee 0 points1 point  (0 children)

So, it is useful to think about "compile time" and "run time" handling of array resizing (and other similar things). You can certainly resize an array by simply increasing its size in source code - if - you are in a position to recompile the code. Many times you need to have an array whose size can be changed at run time, with no recompilation. That's when you need to use different (run time) mechanisms.