View Single Post
  #6  
Old 03-20-2010, 09:14 PM
TheDon's Avatar
TheDon TheDon is offline
Ghost of Diesels Past
 
Join Date: Oct 2005
Posts: 13,285
got it to generate 4 random numbers into the array

int i;
board[4];

srand(time(NULL));

for(i=0;i<4;i++)

board[i] = rand() %6 ;


now I need to do 7 more functions.. I think those functions need to call board[4] to compare against..
Reply With Quote