Reread your text on basic syntax.
int words
{
int words = 1;
It looks like VB. Functions should have a parenthesized parameter list, and it's not a good idea to name a local variable the same as the function.
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314
I need to know what is going on with this program.
It fails to compile because of basic syntax errors.
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314