rand()

rand(). base. Returns a random number between 0 and MAX_INT. Use with % <radix> to get a specific range; e.g. [t]rand() % 2[/t] to get a random yes/no result.

Categories