I'm very new to C, coming from a PHP/Java background so this C malarky is very new to me.
I can't figure some of the basics out, I've read TFM and have two C books in front of me "The Essence of Programming using C++" and "The ANSI C programming language".
The second book, while being quite handy, seems to be aimed a little higher than I can get.
I have a function which I want to use to populate an array (and while I'm sure this is noobish) I can't get it to work.
The function declaration is
void calculate(int w, int h, double rLower, double rUpper, double iLower, int d, int *data[][])
{
some code here
}
and I've tried to implement it as such
data int[200][200];
calculate(200, 200, -2, 2, 2, 100, &data);
At this stage, I've figured out that google is pretty useless for C errors and that books are great if you have someone to ask when you're making a mess of things so if anyone can help me, I'd appreciate it.