Hi. I'm fairly new to programming, and I'm trying to make a rock paper scissors simulator (text based). One problem I have, however, is that my compiler repeatedly tells me that a 'void value not ignored as it ought to be' prevents me from running my program. Here's the snippet that is"hates":
float placeholder; placeholder = srand( (unsigned)time(NULL) );
Can someone please explain to me what I'm doing wrong, and how to fix it?
P.S. I apologize for how idiotic and brainless I may sound. :)