I am using gcc.
I've changed my code to look like such
after such I'm now getting errors compiling.
#include<time.h> // added
#include<stdlib.h> // added
int one = 0;
one = (rand() % 4)+1;
return 0; // added
error: too few arguments to function 'time'
/usr/include/time.h:186:15 note: declared here
Ok, I fixed/figured it out. Thank you dmh and mk27. I placed "NULL" into the time function and like magic it works thanks guys!!!!
Can I some how mark this as solved or close it?