This works with all C Compilers.Code:#define MAX_NUMBER_OF_GRADES 16 float grade[MAX_NUMBER_OF_GRADES];
The other one does NOT work with all C Compilers.
As already stated in this thread it works if you have variable length arrays.
Tim S.
This works with all C Compilers.Code:#define MAX_NUMBER_OF_GRADES 16 float grade[MAX_NUMBER_OF_GRADES];
The other one does NOT work with all C Compilers.
As already stated in this thread it works if you have variable length arrays.
Tim S.
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson