Fixion

Members
  • Content count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Fixion

  • Rank
    Will I break 10 posts?

Profile Information

  • Gender
    Male
  • Interests
    Programming
    Music
    Psychology
    Philosophy
    Japanese Culture/Language
  • Country
    Canada
  1. I'm not sure about how it works in D, but in the C and C++ languages, srand() is the "Seed Random" function. You supply it with a base value that all random numbers generated will be based on. I'm pretty sure the following example demonstrates what I mean: #include <stdlib.h> #include <time.h> int main(void) { srand(time(NULL)); int r = rand(); printf("%d\n", r); return 0; } In this case, we are saying that all random numbers generated will be based on the time of the system whenever the function is called.