Can I pass an operator to a function or ... ?

Dahe Chen chen-dahe at CS.Yale.EDU
Sat Feb 10 10:00:40 AEST 1990


I have a function in which only one if statment is different: one uses
< and the other uses <=. I wonder if I can pass the operators to the
function and how. Or are there other ways to do it?

Thanks in advance.
Dahe Chen
internet:   dchen at twolf.ce.yale.edu
	    chen-dahe at cs.yale.edu
bitnet:	    dchen at yalevms



More information about the Comp.lang.c mailing list