Mail Archives: djgpp/1997/02/19/09:10:39
Hi.
Recently, I have read GCC documentation at the very first time ;)
An exellent !!! ;)
So, now I have a lot of new possibilitys and ... a lot of new questions
!
Just 1st about variable lenght arrays (VLA) :
void foo(void)
{
int i=0;
int arr[i];
for(i=0;i<10;i++)
{
arr[i]=i;
}
}
I think, very symple code ;) (I never run it)
So, my question is - may I use VLA this way : dynamicaly increase the
array's size ?
--
Regards,
Dim Zegebart,
Moscow Russia.
- Raw text -