Need Help C++
Go to solution
Solved by Enderman,
6 minutes ago, ohJey said:the problem is I'm trying to subtract the last dice roll and I can't figure out how to do it
the lands.back() was me trying to get the last number in the vector... but it gives me random numbers
why cant you do
number = rand()%6; i=i-number;
like you did in the first if statement?
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now