I wanted to play around with using string manipulation to divide very large numbers.
I will have a very simple input of the dividend and divisor and my program will print out the quotient and remainder. I will also be giving inputs with leading zeros but I will not include them in my output.
How would I accomplish this using string manipulation?
Thanks for your help.
String ManipulationDividing large numbers
Page 1 of 1
3 Replies - 958 Views - Last Post: 31 August 2010 - 12:15 AM
Replies To: String Manipulation
#2
Re: String Manipulation
Posted 29 August 2010 - 02:27 PM
Maybe take a look at a library that already exists for doing that,
#4
Re: String Manipulation
Posted 31 August 2010 - 12:15 AM
Do you mean:
if
char s1="123456789"
char s2="965412378"
find the approximate value of 965412378/123456789 = 7.82
if
char s1="123456789"
char s2="965412378"
find the approximate value of 965412378/123456789 = 7.82
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|