Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

srand time null

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int main( void){
    srand(time(NULL));
    int x = rand()%100;
}

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #srand #time #null
ADD COMMENT
Topic
Name
5+9 =