Thread: c problems
View Single Post
  #7 (permalink)  
Old November 29th, 2005, 04:23 AM
vector vector is offline
Authorized User
 
Join Date: Nov 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Paramesh
 I think that may be the problem with the gcc compiler.
This code wont work in any other compiler and this is not a standard.
according to latest C99 standard...it is allowed...earlier it was not allowed....earlier u were only allowed to have constant value in the decleration of arrays but now its completely legal....latest compilers will conform to it.
Note: VC6.0 doesn't allow it...but most probably the new versions of it must be conforming to it...

Reply With Quote