Moved c++ forbids variable length array to "array length"