View Single Post
Old 04-25-2008, 12:29 PM   #2 (permalink)
ShosMeister
Registered User
 
Join Date: Jan 2008
Location: Harpers Ferry, WV
Posts: 356
OS: OS X 10.4.x


Re: Constant array size

Alman, welcome!! I haven't looked specifically at the differences between C and C++, but, if I remember, that is correct that in C++ it detects that size is an INT and it compiles okay. There are ways of creating dynamic arrays if you need that using malloc and such.
ShosMeister is offline   Reply With Quote