Hi,

What is the dynamic array equivalent to this?

int *array[10]

---

int *array

array = new int[10]

I want something like the above, but I can't seem to figure out the correct way to do it

Any help would be appreciated!

Thanks!

This topic has been dead for over six months. Start a new discussion instead.

Recommended Topics