Correction to the previous comment - It's actually line 404 in ZoneArray.cpp:
stars = new Star[nr_of_stars];
Fabien, according to the GCC documentation, if the "new" operator fails, it throws a std::bad_alloc exception, but this is not captured anywhere in the code.
Correction to the previous comment - It's actually line 404 in ZoneArray.cpp:
stars = new Star[nr_of_stars];
Fabien, according to the GCC documentation, if the "new" operator fails, it throws a std::bad_alloc exception, but this is not captured anywhere in the code.