We commonly use random() function to create random numbers in C++.
The use of void srand (unsigned int seed) would improve the results since it would generate random numbers depending on the value of seed.
Can anyone tell me how the random function is actually implemented?