Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
1 Commented Post
0 Endorsements
Ranked #107.41K
~222 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for xshashiy

hi i want to generate non repeated random numbers many times. for that i m using the following code. [code]#include "sys/types.h" #include "stdio.h" #define MAX 200 #define N 20 main() { int array[N],r; int n = 0; int count_check,count_gen ,i,j; for(j=0;j<10;j++,printf("\n")) { srand(j); for (count_gen=0;count_gen<=MAX;count_gen++) { r = rand()%N; for …

Member Avatar for slygoth
0
222