Array of pointers and dinamically generated.

WizenedEE:
f should be a pointer to the start of an array of five (or whatever) pointers to ints. Thus, it needs to look like this:

Wowww, thanks, this was my problem.

I fix it, but, the "new" form doesn't work. This is the error message:

undefined reference to `operator new[](unsigned int)'