variable length arrays as arguments to functions

Ashok.A ashokar@sankhya.com
Tue Jun 3 11:13:00 GMT 2003


Hi,

> void MyFunc(int N, float my_matrix[N][N])

  Have you tried as below?

    void MyFunc(int N, float my_matrix[][])

Best Regards,
Ashok.A



More information about the Gcc-help mailing list