As i know float has 8 digit, how about if i want n-digit ?
for example:
in float, PI = 3.142857 -->8 digit
how about if want 10 digit? or 20 digit ?
wish somebody could solve this for me. i would be very thankful.
^^ There's some stuff on it around the 'net in case you'd want to learn about how it works and write it yourself, but you could try using source that someone else already wrote. Like for instance http://cpp-bigint.sourceforge.net/
I remember back when I learned this in a class at my University and a homework assignment was to write code for a BigInt and then put it to use.