Multiplying two long long ints C -


I am working as a part of homework on a program in C, in which I get the product of two long numbers The character is taken as a string such as: 123456789021 and 132456789098. Since it has been taken in the form of a string, I have changed them from multiplication to long integer. But the resulting product will be very big (bigger than long estimate estimates) Can anyone recommend me a way to do this multiplication?

Here's a way: consider how you would multiply this number by hand, in c on paper Implement this method. You must find out how to:

  • How to break an integer (representation as a string) in the digits
  • How to convert each digit back is an integer 0 & lt; = D & lt; 10
  • How to manage arrays of points (ie how large should you arrange?)
  • How to write a loop (l) to apply to you
  • How to manage the way the product moves from one point to another
  • How to change those points back to output

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -