This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: variable length arrays as arguments to functions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]