>>172
C99から静的配列の要素数にconst int 型の変数が使えるようなった。
C99がつかえないなら callocをつかう。
const int bufsize = 1024;
int *iptr = calloc ( bufsize, sizeof(int) )
/
何らかの処理
/
free(ipr);;