I am needing to have this program choose between two options randomly. The program all works except that when I use this line of code:
int x= rand() % 2;
it seems that it's not random but rather follows the same pattern every time. I have searched and found things like gettickcount() but even with the headers, it wont compile. Anything that will let it randomly choose between 0 or 1 is just what I need.