☆─────────────────────────────────────☆
noid (DoIneedit?) 于 (Fri Aug 8 19:04:28 2008) 提到:
const int j = 10;
char buf[j + 10]; // ok, no problem
the value of j cannot be used at compile time because the compiler is not
required to know the contents of the storage at compile time. How does buf[j
+10] pass the complier?
☆─────────────────────────────────────☆
thrust (WoW 无限期冬眠中) 于 (Fri Aug 8 19:12:57 2008) 提到:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
who said so?
☆──────────