| | |
multiplying very large numbers..
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: May 2009
Posts: 1
Reputation:
Solved Threads: 0
ı 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....
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
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
http://www.daniweb.com/forums/announcement118-2.html
Manic twiddler of bits
![]() |
Similar Threads
- Adding large numbers (C)
- (very) simple math not working perhaps due to to large numbers? (C++)
- Very large integer (C++)
- help, large numbers (C++)
- Large Numbers (PHP)
- Store large numbers in C (C++)
- Code Snippet: Python can handle Very Large Numbers (Python)
- storing large numbers (C++)
Other Threads in the C Forum
- Previous Thread: why this is an error???
- Next Thread: Problem with time
Views: 422 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for C
#include .net ansi array arrays asterisks binarysearch calculate centimeter changingto char command convert copyimagefile cprogramme creafecopyofanytypeoffileinc database directory dynamic fflush file fork forloop framework functions getlasterror givemetehcodez grade graphics hacking hardware histogram homework inches include incrementoperators input iso kernel km lazy linked linkedlist linux linuxsegmentationfault list lists locate logical_drives looping loopinsideloop. lowest match matrix microsoft motherboard mysql number opendocumentformat opensource owf pattern pdf performance pointer pointers posix problem probleminc process program programming radix recursion recv research reversing scanf scripting segmentationfault sequential shape socket socketprograming spoonfeeding standard string strings structures student systemcall testing threads turboc unix user variable voidmain() wab windowsapi






