c++ array – expression must have a constant value
When creating an array like that, its size must be constant. If you want a dynamically sized array, you need to allocate memory for it on the heap and you’ll also need to free it with delete when you’re done: If you want a fixed size, then they must be declared const: Also, doesn’t even provide a … Read more