c++ 数组定义

场景:c++ builder数组定义解决思路

c++ builder数组定义
代码如下:
#define   NUM   30;

double   sur_num[NUM];   //此行提示出错   Array   bounds   missing   ];

我换了其它的标记字母仍然不行。
是不是bcb定义静态数组必须在[]内直接填写数字?

------解决方案--------------------
#define NUM 30;

double sur_num[NUM]; //此行提示出错 Array bounds missing ];
=========
=> double sur_num[30;];
=> double sum_num[30; //*
];
=> 所以*处缺少]