Date: Mon, 28 Feb 2005 21:55:07 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Mark Jayson Alvarez <jay2xra@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Word counting by Kernighan won't compile =( Message-ID: <20050301055506.GA30984@xor.obsecurity.org> In-Reply-To: <20050301052323.29837.qmail@web51610.mail.yahoo.com> References: <20050301052323.29837.qmail@web51610.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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"=20
>=20
> It exited with errors:
>=20
> word.c: In function `main':
> word.c:17: error: invalid lvalue in assignment
>=20
> Any idea what this means?
YOu didn't copy it verbatim ;-)
> if (c =3D=3D ' ' || c =3D=3D '\n' || c =3D '\t')
^^
Kris
--UugvWAfsgieZRqgk
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQFCJAO6Wry0BWjoQKURAtYrAJwIAKBiKiB+8V5Ku9DQe1UiNnntOwCg+Eh/
BWp2CDHOKJU8XfYqBmPbr/w=
=8Tgz
-----END PGP SIGNATURE-----
--UugvWAfsgieZRqgk--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050301055506.GA30984>
