Source File Organization

John Hritz jih at ox.com
Sat Mar 2 07:50:33 AEST 1991


The approach I take when faced with this kind of problem is to place an
assert statement in the main() as a check.
	assert(sizeof(a)  == sizeof(b))
will probably do the trick.  These statements can be left out of the code
by setting a compile switch, usually NDEBUG.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     John I. Hritz                               Photons have mass?!
     jih at ox.com                                       I didn't know they
     313-930-9126                                             were catholic!



More information about the Comp.lang.c mailing list