Search:

Type: Posts; User: master5001

Search: Search took 0.04 seconds.

  1. Replies
    17
    Views
    8,207

    Well you didn't murder a kitten or anything. Its...

    Well you didn't murder a kitten or anything. Its just going to slow down your code while performing a redundant task. People like me get paid good money to correct code where people have done similar...
  2. Replies
    17
    Views
    8,207

    You should not be reseeding your pseudo-random...

    You should not be reseeding your pseudo-random number pool like that, Newton. Perhaps that is why "your way doesn't work, master5001." You should uncommment the first srand(time(NULL)) and comment...
  3. Replies
    17
    Views
    8,207

    I doubt this guy is writing a black jack...

    I doubt this guy is writing a black jack server... but for those of you who are reading this thread because you have the initiative to utilize the forum's search function, God bless you. Here is...
  4. Replies
    17
    Views
    8,207

    Just do this: Example: #include ...

    Just do this:

    Example:

    #include <time.h>

    ...

    srand(time(NULL));
  5. Replies
    17
    Views
    8,207

    Perhaps you should do something like.... ...

    Perhaps you should do something like....

    Example:


    randnum = (rand() >> 16) & 7;
Results 1 to 5 of 5