Thread
:
modulo operator?
View Single Post
#
6
03-20-2010, 09:14 PM
TheDon
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..
TheDon
View Public Profile
Find all posts by TheDon