By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,406 Members | 1,353 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,406 IT Pros & Developers. It's quick & easy.

rolling dice

P: n/a
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
Share this Question
Share on Google+
101 Replies

P: n/a
"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

P: n/a

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

101 Replies

This discussion thread is closed

Replies have been disabled for this discussion.