请教在C语言中该如何定义使用二维动态float型数组
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#define DA 2.0
#define DB 3.0
#define IM 30
#define JM 60
#define NPX 2
#define NPY 2
int main(int argc, char *argv[])
{
int IML,JML;
IML=IM/NPX;
JML=JM/NPY;
要实现一个随着IM、JM的值的调整而动态变化的二维float型数组u[IML+2][JML+2],
且在定义后的有关数组u的操作中,直接使用二维数组的格式u[x][y]进行相应的操作
应该如何定义?
}