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
Option 2 isn't difficult, here you go:
srand(time(NULL));
you'll need to include stdlib.h for srand() and time.h for time().
stdlib.h
srand()
time.h
time()