468,557 Members | 2,149 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,557 developers. It's quick & easy.

rolling dice

Let's say I have m dice having n sides, such that n^m is not going to bust
int as a datatype. With m=4 and n=6, an outcome might be {2, 5, 1, 2}.
What is a good way to represent this in c so that I can check cases by brute
force? EC
Sep 30 '06
101 5516
"Keith Thompson" <ks***@mib.orgwrote in message
"Bill Reid" <ho********@happyhealthy.netwrites:
>You seem to think that "special knowledge" is required
to separate the "men from the loons", and that may actually
be true in your case. In my case, since I am much more of
a "people person", I can spot them very quickly just based
on a few generalized behavioral cues...

Good for you. Congratulations. Whoop-de-doo. I am in awe of your

Now can you *please* go separate the men from the loons somewhere
else? We discuss C here.
I've noticed that "people people" usually tend to be very bad at human

Psychologists have a much higher divorce rate than physicists.
freeware games to download.
Oct 28 '06 #101

Rod Pemberton <do*********@bitfoad.cmmwrote in message
See how nice I am? Or, at least, how measured and controlled I'm
being when being called lair by an ignoramus.
Follow-ups set appropriately. Add the spelunking group if you
really think it's needed...

William Ernest Reid

Oct 28 '06 #102

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by lawentzel | last post: by
4 posts views Thread by dpp4669 | last post: by
17 posts views Thread by Jose Durazo | last post: by
2 posts views Thread by sunnydude | last post: by
2 posts views Thread by cowboyjeff05 | last post: by
1 post views Thread by UniDue | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.