On Mon, Feb 28, 2005 at 09:23:22PM -0800, Mark Jayson Alvarez wrote:

> command line, until I send an EOF signal. I copied it
> verbatim and tried compiling it with plain "cc
> myprog.c" 
> 
> It exited with errors:
> 
> word.c: In function `main':
> word.c:17: error: invalid lvalue in assignment
> 
> Any idea what this means?

YOu didn't copy it verbatim ;-)

>   if (c == ' ' || c == '\n' || c = '\t')
                                   ^^

Kris

Attachment: pgpj6rJy8in3Y.pgp
Description: PGP signature

Reply via email to