Last edited on
You're the second person today that I've helped with this:
aa = new int [size];
for (int i = 0; i<size; i++)
aa[i] = 0;
size is still 0, you can't write to NULL.
Topic archived. No new replies allowed.