View Single Post
Old Nov 27th, 2005, 7:31 PM   #6
groovicus
Programmer
 
Join Date: Nov 2004
Posts: 84
Rep Power: 5 groovicus is on a distinguished road
It looks like you are having quite a few problems, so where to start first?

You have no main method....
DiceRoll has no type associated with it.....
You have no real constructor for your class....
die1 and die2 have no types associated with them.....
NUM_SIDES is not initialized to anything.....

It would be really helpful to see the all of your code, otherwise we are just making assumptions about what you do and do not know how to do.
__________________
HijackThis Team-SFDC
groovicus is offline   Reply With Quote