A
Adam
Is there a way in C++ to allocate a variable amount of stack space at
run-time?
void complex_maths_operation(const int num_rows, double* vector)
{
double temp[num_rows];
....
}
The obvious answer is to use the heap... but if this isn't an option.
run-time?
void complex_maths_operation(const int num_rows, double* vector)
{
double temp[num_rows];
....
}
The obvious answer is to use the heap... but if this isn't an option.