How about that?Originally posted by Vlatko
Code:#include <iostream.h> #include <stdlib.h> #include <time.h> int main(int argc, char* argv[]) { srand((unsigned)time( NULL )); cout<<(rand() % 6)+1<<endl; return 0; }
|
Results 1 to 7 of 7
Thread: RandomThreaded View
|
Click Here to Expand Forum to Full Width |