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