This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6678: 定义数组问题

Part Number: TMS320C6678


您好,我需要在函数中定义数组,具体某个用法如下:

int GetFrameType(double * frameFFT, int N_data_len)
{
int type=4;

double amp_array_fft[N_data_len];

}

{

int mapsrc_len = (int)((idxstop-idxstart)/didx)+1;
double mapsrc[mapsrc_len];

}

我在code block开发环境下可以编译通过,但是在CCS5.5的编译器下就会报错,请问下我需要怎么修改?谢谢大家!