however, it show runtime errow!
showing as:
terminate called after throwing an instance of 'std::runtime_error'
what<>: random_device::random_device<const std::string&>
does anyone can help me?
it is very important for me to generate a random and that can be used repeatly.
thanks very much.
Do not use std::random_device without having first verified that it is a true random device on the particular implementation. For instance, the default-constructed GCC MinGW implementation of std::random_device generates the same predictable sequence each time the program is run.