Thanks Mats. Even the previous code is much faster.
Type: Posts; User: mradul.exe
Thanks Mats. Even the previous code is much faster.
Thanx Mats for your gr8 help.
I thought freeing the first element will free the whole list.
Also, I was getting errors when I used inline functions.
I got the result for 2345! after compiling the...
I dont think that much RAM will be required.I m freeing the lists every time after multiplication.
the structure will take 8 bytes.
the final ans will be of about 250k digits
so,...
I have tried using far, but i m not experienced in that.
I declared the pointer as
unsigned far list *list1=(unsigned far list*) 0xb000000;
It displays error when i use the pointer.
I m using Turbo c and have implemented a code for finding factorial of a number using link list.
The actual problem was to 123456!.
My program seems to be correct but it gives correct results upto...
ya i understand but its highly complicated to implement!!!
can anybody tell me how to multiply two linked lists??
i want to multiply large nos., consisting of hundreds of digit.
i have stored the nos in link list form as one digit per node.
now how to...