Quote:
> Hallo, I am an italian student and I am looking for some routines,
> written in C, which can solve boolean truth tables.
> I home that someone can suggest me some good link.
> Thank you.
> Bye bye.
> Marco.
Are you talking about evaluating big-ass truth tables containing
compound arguments? Or are you simply looking for a general AND, OR,
IF-THEN, IFF (if and only if), etc.? One thing I have not found in C is
a Boolean corresponding to the IF-THEN logical statement. The only way
to get an equivalence is to evaluate IF A THEN B as NOT A OR B , i.e.
((!A) || B).
Until you answer this post, I can't help you any more.
--
Van Isaac Anderson
http://www.geocities.com/SiliconValley/Pines/8250/index.htm
"I stand by all the misstatements that I've made." -- Dan Quayle