Great tutorial, however my code is not checking the win condition properly. Even when I can see a win, it says you lose, I looked through the logic and am trying to find where I went wrong in my code. Also by incrementing the money based off the slot machine index 1 means if the number at that slot is 0, you aren't going to win any money, so I need to code it so when it spins it doesn't include 0.
@trololodex5 жыл бұрын
when i type wheel.h console says it cannot open source file. what should i do about it?
@burningxdagger8 жыл бұрын
having trouble with usleep and support online is limited. is included but still getting and "undeclared" error. Literally it's the only error I'm getting.
@meek_jdai8 жыл бұрын
are you compiling on linux?
@burningxdagger8 жыл бұрын
Negative. Pc. Using code blocks. I changed to sleep to get it to run but now I'm facing compiler errors.
@meek_jdai8 жыл бұрын
+Leo F unistd is a Unix std cpp library. on Windows you have to go through a compatability library. do some research on mingw and link that through code blocks
@burningxdagger8 жыл бұрын
Thanks, already on that, so that let's me know i'm on the right track.
@chrisamelio18 жыл бұрын
Do you have a link to the code?
@xus93805 жыл бұрын
Can you make a video tutorial about how to make a slot machine apps I really appreciate you if you make it for me , and if I make profit from it I will pay you 50%