[解決]‘for’ loop initial declarations are only allowed in C99 mode

Posted on 02/13 ( 2015 ) by

■問題

Error:‘for’ loop initial declarations are only allowed in C99 mode

問題箇所:

for(int  i = 0; i < 256; i++ ){

 


 

■改善後のコード

int i =0;

for(i = 0; i<256;i++){

 

記事を共有するTweet about this on TwitterShare on FacebookShare on Google+Email this to someonePrint this page
No tags for this post.

Leave a Reply