Original Post
I've been trying to get this right but I am having a lot of trouble: double (*inputFunc)((list) &); this is suppose to be a function pointer to a function that might look like: Is this correct? The compiler disagrees with me, but I don't know what I should do to correct it(and I have not had too much exposure to function pointers).
double haha(list<double> &x)
{
// do stuff to x
return 0.0;
}