我有以下代码
#include <stdio.h>
#include <string.h>
int main()
{
char a[10000] = "aaaaaaaa"; // this attribute may vary, so the length isn't going to be constant
int aLength = strlen(a);
int someParameter = aLength /4; // some attribute that's computed dynamically
char table[aLength][someParameter];
}
在表声明中我得到错误 - >“表达式必须有一个常量值”。我怎样才能克服这个?