- Code: Select all
static double *C=new double[N_CELLS];
Is there a better alternative? How do I go about deallocating the memory? Would a static smart pointer make more sense? As always, any advice, comments, or mocking of my ignorance is welcome.
Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard
static double *C=new double[N_CELLS];
Users browsing this forum: No registered users and 2 guests