What I\'m trying to do right now is to create an array with a length that is defined by a variable. However, when I put the variable in the array length, it gives me a \"Va
use STL. IF you want a variable length array you can use vectors under #include
#include
Native c++ array donot nave variable length array.