Help needed - Generating a random number (C/C++)!

wonder

Expert
Licensed User
Longtime User
I need to generate a random number, several times per millisecond.

Using srand((int)time(NULL)) takes me nowhere and I can't use any solution based on #include <random>, because NDK won't compile it (yes, I have the flag set to "c++11" in the make file).

Any suggestions?
 
Top