Problem with deleting pointer

May 20, 2013 at 12:48pm
not nedde any more.
Last edited on May 27, 2013 at 8:48am
May 20, 2013 at 1:52pm
You need to take another look at your sort function.

The line:
int* taket = new int(students.ElementsNum());
in particular and how you interact with taket subsequently. That doesn't allocate an array of type int, if that's what you're thinking.
Topic archived. No new replies allowed.