This is my slot machine game with SDL, it is not complete but i have two questions.
How do i display a variable with the extension library SDL_ttf
When you run the program and the welcome text...
Type: Posts; User: nobo707
This is my slot machine game with SDL, it is not complete but i have two questions.
How do i display a variable with the extension library SDL_ttf
When you run the program and the welcome text...
Thanks for sticking with me. Actually i am using G++ 4.3.3 on linux and it didn't issue any warnings. I will put in the variables, the global variables, that aren't used by more than one function in...
I can't believe i was so blind from you post.
My Bad.
Here is the new code.
I know that there is still one more bug that if you have 1 token and lose 3 tokens that it wraps the unsigned int...
thanks for your, it made me relax, focus on the code and to be all jumpy. Try to run the code through your head. I am still stumbled and i tried many ways to resolve it, i will come back to it and go...
I am not trying to be rude here but if you tell em that there is still 2 bugs in my program, can you at least give me some sample program or a suggestion on how to fix it. Thanks for the tips but it...
Here is my new, with 3 functions, clean, using a while loop instead of for which i think was the problem.
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
...
Thanks for the advice. i will try to paste the new code tomorrow after my homework:).
For you saying that it was the != operator causing the problem, actually it's not. The && operator gives the...
Well, i started my C++ book again after a year to learn more about the hardware of a computer, binary and others so i would understand more about my code and so i understand what i am doing.
So...