Search:

Type: Posts; User: nobo707

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    5,648

    SDL-displaying variable with SDL_ttf

    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...
  2. Replies
    12
    Views
    5,633

    Thanks for sticking with me. Actually i am using...

    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...
  3. Replies
    12
    Views
    5,633

    I can't believe i was so blind from you post. ...

    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...
  4. Replies
    12
    Views
    5,633

    thanks for your, it made me relax, focus on the...

    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...
  5. Replies
    12
    Views
    5,633

    I am not trying to be rude here but if you tell...

    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...
  6. Replies
    12
    Views
    5,633

    Here is my new, with 3 functions, clean, using a...

    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;
    ...
  7. Replies
    12
    Views
    5,633

    Thanks for the advice. i will try to paste the...

    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...
  8. Replies
    12
    Views
    5,633

    Slot Machine program c++ bug

    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...
Results 1 to 8 of 9