.
.
할하 -_-...
함 함 .
.
할하 -_-...
함 함 .
#include <stdio.h>
int main()
{
int n;
printf("Array Size? ");
scanf("%d", &n);
int x[n];
int i;
for (i = 0; i < n; i++) {
x[i] = i * 10;
printf("%d ", x[i]);
}
printf("\n");
return 0;
}
- 흠 하 ㅡ.ㅡ;; gcc , VS.net ;; 파 한? VS.net ? - eternalbleu
- 흐... C 할 하 해 new malloc 키 해 하 ?? .. 파 해 하??;; - 한
- C99 표 , VS 파 C99 히 키 함. gcc 3.0 variable-length array . (gcc C99표 extension 형태 하 했 합.) - eternalbleu
Open source development using C99
The new variable-length array (VLA) feature is partially available. Simple VLAs will work. However, this is a pure coincidence; in fact, GNU C has its own variable-length array support. As a result, while simple code using variable-length arrays will work, a lot of code will run into the differences between the older GNU C support for VLAs and the C99 definition. Declare arrays whose length is a local variable, but don't try to go much further.









