New answers tagged

2 votes

Random dice class based off D&D

Here are some things that may help you improve your code. Use include guards There should be an include guard in each .h file. That is, start the file with: ...
user avatar
  • 64.4k
2 votes

Random dice class based off D&D

I'd say this is the wrong place to use an "OOP" approach (is there a right one? :p). I think that what the Die class represents is a bit mixed up, and not ...
user avatar

Top 50 recent answers are included