Hey, A couple of questions.
I am unsure how twodimensional arrays work
This is what I have.
//calling the function
calc_pay(emp_counter, *wg_hr_py);
//function calc_pay
void calc_pay(int emp_counter, double wg_hr_py[][MAX_COL]);
{
int i, j=0;
for(i = 0; i <emp_counter; i++)
{
wg_hr_py[i][j+3] = wg_hr_py[i][j] * wg_hr_py[i][j+2];
}
}
This isn't working and I was wondering Why?
I am mostly having trouble with the calling of the two dimensional array and how to put it in the parameters. Pllleeaase help I have been working for days on two dimensional arrays and I'm getting no where.
Thanks