I have been working on this for a while now and its about done, but I just want to make sure this is the best way of doing this.
Its a dice-game program rolling the dice x times, giving a random number between 1 and 6 and adding them together as well as showing the highest and lowest number.
The idea is to make it as flexible as possible, and preparing it to be devided into seperate files in the future.
Please give me your input on how to improve the flexibility and preperation.
Make roll method take an int: number of dices to be rolled.
Use dynamic arrays (or vector) to store any numbers of roll.
Support of different sided dices (d4, d6, d8, d10, 1d2 ,d20, d100...) is a godd idea.
that about flexibility.
You should use random generator classes in <random> and seed them once per instance of Dice, preferrably in constructor.
srand(time(0)+rand()); does not give you more randomness than just srand(time(0));.
Also you can calculat Low and High dot in roll method and store them in private variable, making highDot and LowDot an accessor functions.