I have a project in omnet platform and i am generating random numbers, lets say between 0-100. Everytime i run the simulation the randomly generated numbers become same. For example again, the first generated one is 32, second is 75 and so on. In second simulation the order and the generated numbers are same. I know that srand() is not compatible with omnet++ so i need help about finding an equivalent command. Thank you
Aucun commentaire:
Enregistrer un commentaire