Why cannot you resize an array in C++?