Hi i have a question about the following code fragment writen in true C language
volatile double samp[256];
When i trying to compile it gcc gave me a followed warrning:
array 'samp' assumed to have one element
My question is that C++ array declaration style is correct in true C?
The language “assumed to have one element” is from Technical Corrigendum 1 to ISO/IEC 9899:1990 (C90):
This indicates that you have declared an array without an array bound:
You should check all the definitions of
samp.