How do i define a struct function type as an aggregate of two doubles: a numerator and a denomenator?
How do i define a struct function type as an aggregate of two doubles: a numerator and a denomenator?
do u mean something like this....
Code:struct fraction { double numerator; double demoninator; } double Agg( struct fraction* frac) { return frac->numerator + frac->denominator; }
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi