[Solved] why this function donnot generate random numbers? [closed]
I do not know what within() does, but you may want to use the new methods to generate random numbers introduced with C++11. The link has a nice example. In case the link will become invalid in some future time, here’s the relevant code: #include <iostream> #include <random> int main { // Seed with a … Read more