Help with rolling dice problem

Reply

Join Date: Jul 2008
Posts: 2,001
Reputation: ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of 
Solved Threads: 343
ArkM's Avatar
ArkM ArkM is offline Offline
Postaholic

Re: Help with rolling dice problem

 
0
  #11
Jul 26th, 2008
Aomething stupid? No. It's a common error. Don't forget: array[0] and array[1] are unused (no sum 0 and sum 1) in both arrays (expected and sum). So add two leading zeroes (or any other values) in initialization list for expected array - that's all.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 13
Reputation: cmatos15 is an unknown quantity at this point 
Solved Threads: 0
cmatos15 cmatos15 is offline Offline
Newbie Poster

Re: Help with rolling dice problem

 
0
  #12
Jul 26th, 2008
thanks for the help!!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC