Equality vs Assignment
    Robert J. Caesar Jr. 
    caesar at ge-dab.UUCP
       
    Mon Sep 22 01:59:38 AEST 1986
    
    
  
I don't have a programs, but this might help as a future solution.
In the project I am involved with, we use:
#define is    ==
#define isn_t !=
This has helped us avoid a lot of headaches. The code reads a
little easier too.
if (x is 1)
if (y isn_t x)
-- 
   Bob Caesar                   
   General Electric SCSD                      caesar at static.dab.ge.com 
   PO Box 2500 Room 4336                      (904) 258-3043 
   Daytona Beach, Florida 32015            ...!mcnc!ge-rtp!ge-dab!caesar
    
    
More information about the Comp.lang.c
mailing list