View Single Post
Re: which one is "standard"...
Old
  (#6)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Re: which one is "standard"... - 18-05-2004

In MinGW, you cannot declare an int inside of a loop. It says something about C99 mode. You would have to have it like this:

Code:
int i;
 for (i=0;i<10;i++)
 {
	printf("Lalalalalalala");
 }
  
Reply With Quote