I can do this
double T[2][3] = { {1,3,4},{7,8,9} };
but not this
double T[2][3];
T = { { a,b,c} , {d,e,f} }
Why is that? Will I have to assign T[?][?] 6 times to do this?
any better ways to do this assignment?
Thanks,
--j
double T[2][3] = { {1,3,4},{7,8,9} };
but not this
double T[2][3];
T = { { a,b,c} , {d,e,f} }
Why is that? Will I have to assign T[?][?] 6 times to do this?
any better ways to do this assignment?
Thanks,
--j
Comment