Hi all!
Could I ask something?
I want to generate random numbers
So when I make a block, I included random.h and I used random() function
But every time it produces the same output
And I want to use this blocks twice in the gnuradio
So I tried to use srand(time(0))
But it didn't work
My question is this are there any method to do the same role of srand(time(0)) when I create a block in gnuradio?
Thanks
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to