We can use C++11 random library

`rand()` is poor random number generators than C++11 random library.
And `rand()%N` is not good.
`rand()%N` is used in various classes.
Please look this URL about it. http://c-faq.com/lib/randrange.html

I think, We need to use C++11 random library.