Saturday, May 22, 2010

How do I let matrix allocated as float **a be an argument of a function in C? What about the function header?

Easy.





void my_func( float **matrix )


{


. matrix[0][1] = 10;


}





Is that what you mean?


No comments:

Post a Comment