Hey,
I was just mucking around when using rand() and noticed every time it comes out as a output of 41?
#include <iostream>
using namespace std;
int main()
{
unsigned int randomNumber;
unsigned int guess;
unsigned int guesses;
randomNumber = rand();
cout << randomNumber << endl;
system("PAUSE > nul");
}
Should i use srand() or something?