|
Re: Problem with printf()
The problem is that you are declaring a variable after you've begun to give commands. C doesn't like this, but isn't very informative when it spits up 'syntax error.' (At least I'm pretty sure.) Anyway, I don't know why the printfs further on aren't printing, but try using your printf after the counter is declared.
|