• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1003
  • Last Modified:

Divide big integer in VC++ 6.0

How to divide two "big integer" ?
Example : 9087766655421 / 278058
I store "big integer" in Link List.

Some code example if you have .

thanks !
0
nickphson
Asked:
nickphson
1 Solution
 
sunnycoderCommented:
You can store numbers in a double and use a normal divide.

double a = 9087766655421;
double  b = 278058;
double c = a/b;
0
 
prakash2007Commented:
Hi,
 If you want really big numbers you can use some opensource libraries

here is one : http://cpp-bigint.sourceforge.net/

or

http://dclib.sourceforge.net/ - but this one contains a lot more.
0
 
CSecurityCommented:
you can code it yourself. I coded multiply of big numbers in my first year of university. my application was able to multiply numbers that have even 2000 digits. code it yourself or google to find one.
Regards
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now