Its kinda annoying when rand() function always gives 41 as a random number, and if I for example have
Code:
while(i<5)
(list of 5 random numbers), the numbers are always: 41, 18467, 6334, 26500, 19169. Here is the whole thing:
Code:
    int i=0;
    
    while(i<5){
    printf("%d\n", rand());
    i++;
    }
So I want the program to truly generate random numbers not same numbers everytime -.-


Thanks for help already.

~EvoloZz