You have used the wrong operator to dereference your win and loss variables in line 58. You are getting the memory location instead. Use the * operator, i.e. *win and *loss
woops, led you stray there. The variables win and loss are actually ints, not pointers! You don't need the *. Just remove the & symbol and it should work fine.
Er... No
The & operator can be used almost anywhere in a program. In your program you need to pass a pointer to the variables win and loss to the function wantToPlay. Using the & operator on an int variable gives you a pointer to an int (int*) which points to that variable.
I would suggest doing some more research on pointers if you want to program in c++. Google is your friend.
I hope you won't be offended if I say that it sounds like you don't really understand how pointers work. The answers to your questions require an understanding of the difference between a variable and a pointer to a variable. That requires some independent study, and is not something that can really be answered in a forum post. However there are millions of tutorials on the web that can teach you about such things, I suggest you read one or two of them.
This is my first time doing C++, my logic and vocab is sub-par. I was hoping there was a rule of thumb in case I need to use it in the future instead of doing "guess and check". I am happy with the help I have received, so no worries.