I\'m doing a book exercise that says to write a program that generates psuedorandom numbers. I started off simple with.
#include \"std_lib_facilities.h\"
in
I think that the point of these articles is to have a go at implementing the algorithm that is in rand() not how to seed it effectively.
producing (pseudo) random numbers is non trivial and is worth investigating different techniques of generating them. I don't think that simply using rand() is what the authors had in mind.