Quote Originally Posted by Hermit
I meant both dimensions. If one dimension is omitted, then the compiler at least needs to be able to deduce that dimension from the initialization list. For example:
Code:
double q[][8] = { {0.0}, {0.0}, {0.0} }; // okay, first dimension is 3
This is only relevant if you're actually aiming at initialization. I don't know what to suggest if you're determined to somehow NULL an array on the stack. It can't be done, and there's no reason to do it.

And please, drop the condescending tone. Your question is vague at best and if you'd like a sensible answer you'd do best to be a little cooperative.
well I think I've outgrown codeguru. Maybe I should quit.

I'm not creating an array. I'm creating a pointer to a memory block.

I think I shall take my problem elsewhere.