Baraclese <webmaster@baraclese.com> writes:
[snip]
> void a(const int b)
> {
> int values[b]; // b is not known at compile time
> }
>
> my question is, is this ansi c++ code or is it a feature of gcc?
An extension. See:
http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Variable-Length.html#Variable%20Length
[snip]