Why doesn't this work?! (C)

Trip

Registered
Why won't this work for me?

main() {
int i;
for (i=0, i<10, i++)
{
printf("X");
}
}

Can anybody tell me why it doesn't work? It gives me an error for rows 5 and 7...and it just won't compile! Grrr!
 
Hey thanks!
I'm not going to tell him that I came here to post that I figured that out, I'll just let him think he's so smart. :p
 
Back
Top