I am an at home learner working in Dev C++ 4 as well as Builder, though the former right now. I am trying to work out some code to, for example, if I rolled 3 one's. I will just go to the part where I have the question.
Here is how I envision it. Under each number is a place to chose where I want to put my rolls, say a button that I can chose under the "ones" as well as the "twos" ect., and I rolled 3 ones. How would I get the code to recognize the numbers on the die to know that there are two die that do not have one's and not to add them?
I have not saw this question come up and was reluctant to post because I cannot figure the source for it for any to see.
If you don't want to answer because I have no code, I understand.