#include <stdlib.h> //Required for srand(time(NULL)) which is needed to run for loops until the end of an array
#include <time.h> //Required for srand(time(NULL))
and later at line 11
srand(time(NULL));
but do we need this function?
We don't use rand() anywhere in the program, so this shouldn't be necessary.
in main.cpp:
and later at line 11
but do we need this function? We don't use
rand()
anywhere in the program, so this shouldn't be necessary.