multiplying very large numbers..

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: May 2009
Posts: 1
Reputation: kotiloli is an unknown quantity at this point 
Solved Threads: 0
kotiloli kotiloli is offline Offline
Newbie Poster

multiplying very large numbers..

 
0
  #1
Oct 17th, 2009
ı have a hw about multiplying very large numbers.For example we can't use standart data types for multiplying two numbers which have twenty digits two each.So the doctor wants me to achieve that by Link List.
i'm responsible that holding these large numbers (multiplicand,multiplier and result) in link list.And the program will update the result link-list while multiplying two link list.There is a diagram in attachment that tell my firework.(pay attention to base: the base can be a number from 2 to 10 and number's bases are equals to eachother)
the numbers , in other words; link lists and base must be read from a "input.txt" file.
an input file containing:
>the multiplicand
>the multiplier
>and the base (between 2 and 10 )
an output file is also containing
>the multiplicand
>the multiplier
>the result


the program wil be written in C

i' waiting your response....
Last edited by kotiloli; Oct 17th, 2009 at 11:58 am. Reason: addition
Attached Thumbnails
diagram.JPG  
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 1,970
Reputation: tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute 
Solved Threads: 214
tux4life's Avatar
tux4life tux4life is offline Offline
Posting Virtuoso
 
0
  #2
Oct 17th, 2009
And what exactly is your question?
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 201
Reputation: yellowSnow is a splendid one to behold yellowSnow is a splendid one to behold yellowSnow is a splendid one to behold yellowSnow is a splendid one to behold yellowSnow is a splendid one to behold yellowSnow is a splendid one to behold yellowSnow is a splendid one to behold 
Solved Threads: 35
yellowSnow's Avatar
yellowSnow yellowSnow is offline Offline
Posting Whiz in Training
 
0
  #3
Oct 17th, 2009
In your haste to getting a quick answer you obviously didn't read this:
http://www.daniweb.com/forums/announcement118-2.html
Manic twiddler of bits
Reply With Quote Quick reply to this message  
Reply

Message:




Views: 415 | Replies: 2
Thread Tools Search this Thread



Tag cloud for C
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC