m...@mathiasbader.de wrote:
I'm very sorry for maybe posting something which was already posted.
--> How can I compute the binomial coefficient in C++? <--
You write a program that does that. You fire up your text editor,
type the program up, save it to a file, compile it, work out all the
syntax errors, link, run, test on known cases, then use it to solve
the cases you don't yet have a solution for.
Is it possible that there is no existing library for that out there
(expect something that big like the gnu scientific library)?
Yes, it is possible. Have you tried looking on the Web?
I searched the groups but couldn't find some good answers to this
question except something like "Hey you - why are you posting that?
We already answered this stuff." but without some _usefull_ links.
Oh... We're sorry. Here is the link where I'd start looking:
www.google.com (don't say I didn't provide any links; I bet that
Google has billions of links available for consumption), or, if you
prefer German, trywww.google.de
Of course I can write something on my one - which I actually did -
but then I have to handle with problems like type-overflow and the
largeness of some factorials (which I can actually compute till 12
with datatype long - not big at all).
Oh, yeah. I know what you mean. All those problems with program
writing and debugging -- one actually needs to make programs *work*
before they can *work for him*. Been there, done that. Every day
(well almost), as a matter of fact.
So if someone out there knows a good solution for this - I would be
very appreciative.
Try the Google thing, you might actually find it useful, and not just
for this particular case.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask