So I am trying to get the psuedo random number generator to work. Everywhere I look online tells me this:
1) Include the ctime and cstdlib headers.
Done.
2) Use something like the system time to seed the generator exactly like this.
Error.Code:srand(time(0));
3) Call rand() to generate random number.
Unfortunately I only get to step two. I recieve an error during compilation that says that function, srand(), written exactly as seen above, does not evaluate to a function taking one argument. What could be causing this?