Hi
Im a newbie in C. But i know fortran very well. I try things i do in fortran in c. I'm trying to declare a 2 dimensional matrix globally without specific sizes. Later im planing to allocate it according to input. I can do this
float a[]; or this a[10] or this a[10][10]
But i cant do this
float a[][] or this a[2][] or this a[][3]
Im trying to do something like
real :: a(:,: ) (in fortran)
Can you show me how to declare and allocate according to input?