Re: long integer multiplication



Joe Estock <jestock@xxxxxxxxxxxxxxxxxxxxxx> writes:
helPlease wrote:
hello !! Can anybody provide me an algorithm or C code for long
integer multiplication.It's urgent.

Please do your own homework or at least attempt to do your own
homework and if you get stuck then post your code. Attempting to solve
the problem yourself and asking for help when you are stuck at least
shows that you are dedicated to learning and not just looking for a
free handout. Since you have declared that this is urgent I suggest
you start writing code immediately.

Perhaps he should start thinking about algorithms immediately;
depending on how much thought he's already given to the problem, it
may not yet be time to start coding.

I will give a hint: if by "long integer" he means the C type "long
int", then he'll find the "*" operator to be quite helpful. If he
means something else, he should say so rather than wasting what little
time he has posing poorly phrased questions.

--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
.



Relevant Pages

  • Re: long integer multiplication
    ... Please do your own homework or at least attempt to do your own ... homework and if you get stuck then post your code. ... Since you have declared that this is urgent I suggest ... I don't mind working with code even if it's originally from someone else, but I do strongly dislike fixing code from a fresh college graduate that only graduated because he copied the code from someone else or had someone write it for him purely so that he could graduate and have a degree in CS. ...
    (comp.lang.c)
  • Re: long integer multiplication
    ... helPlease wrote: ... Please do your own homework or at least attempt to do your own homework and if you get stuck then post your code. ... Attempting to solve the problem yourself and asking for help when you are stuck at least shows that you are dedicated to learning and not just looking for a free handout. ... Since you have declared that this is urgent I suggest you start writing code immediately. ...
    (comp.lang.c)
  • Re: long integer multiplication
    ... integer multiplication.It's urgent. ... Please do your own homework or at least attempt to do your own homework ... and if you get stuck then post your code. ... int y = 0; ...
    (comp.lang.c)
  • Re: what a piece of shit
    ... hard, you do your homework and you make an effort to be smart, you can do ... you get stuck in Iraq." ... This douchebag almost became President. ...
    (misc.fitness.weights)
  • Re: Help
    ... Where are you stuck? ... If folks are to help you with what is clearly homework, ... Custom MS Office productivity solutions ...
    (microsoft.public.excel.misc)