I have the following code line:
for ( int i = index; i < al->size; ++i )
//i,index and size are integers.al is an arraylist
When I compile this in C, I get the error:
'for' loop initial declarations are only allowed in C99 mode
Im not sure on how to fix this.
Thank you!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…