Hello!
What data type should I use to declare variables that hold fractions ??
I've looked everywhere, but can't find an answer.
<my geometric calculator will be ready in few hours!>
Hello!
What data type should I use to declare variables that hold fractions ??
I've looked everywhere, but can't find an answer.
<my geometric calculator will be ready in few hours!>
Last edited by Nectron; 07-10-2003 at 06:33 AM.
I have a code which stops life!
Take a look at the boost library or write your own rational numbers class. Thats a simple enough exercise.
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