[Solved] Strangeness with dynamic arrays in C++ [closed]


Yes, you are defining your array right. You have a bug elsewhere in your code outside the part that constitutes your question.

solved Strangeness with dynamic arrays in C++ [closed]