| | |
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: 415 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for C
* adobe api append array arrays bash binarysearch char character cm copyanyfile copypdffile createcopyoffile createprocess() csyntax directory drawing dynamic executable execv feet fgets file floatingpointvalidation fork frequency function getlogicaldrivestrin givemetehcodez global graphics gtkgcurlcompiling gtkwinlinux highest homework i/o ide include infiniteloop initialization interest intmain() iso keyboard kilometer lazy license linked linkedlist linux list matrix meter microsoft mqqueue multi mysql oddnumber odf open openwebfoundation overwrite pause pdf pointer pointers posix power program programming pyramidusingturboccodes read recursion recv recvblocked repetition reversing scheduling segmentationfault send single socketprogramming spoonfeeding stack standard strchr string student suggestions system test testautomation unix urboc user whythiscodecausesegmentationfault win32 win32api windows.h






