Xref: utzoo comp.lang.c:8804 comp.lang.misc:1392 Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!ucsd!rutgers!princeton!phoenix!llave From: llave@phoenix.Princeton.EDU (Rafael Llave) Newsgroups: comp.lang.c,comp.lang.misc Subject: Re: == vs. = a final word Message-ID: <2285@phoenix.Princeton.EDU> Date: 1 Apr 88 06:54:49 GMT References: <1222@PT.CS.CMU.EDU> Organization: Princeton University, NJ Lines: 19 Summary: a solution When I started programing in C -having programmed in Fortran and Pascal , I made mistakes with the comparisons. What I did is to include in my file "macros.h" -always included in my programs - #define EQ == #define LEQ <= etc. One of the advantages of C is that you do not need to get tied by the grammar. K&R themselves suggest #define BEGIN { #define END } for enthusiasts of the notation