I am a total C++ noob, and I am having some trouble returning an array from my methods. I have a header file with the following method declaration:
virtual d
You'll better use std::vector or if you really want to return a plain array, return a pointer (to such an array) dynamically allocated with e.g.
double* arr = new double[arrSize]; // fill arr appropriately return arr;
But I'll recommend returning a std::vector instead.
std::vector