.
블 능.
배 동 -_-...
내 능.
블 능.
배 동 -_-...
내 능.
#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.