samedi 2 octobre 2021

How to initialize random without time

I am programming a microcontroller (PSoC5), which doesn't have a system time.

What is the best way to generate a seed to initialize srand?

TIA




Aucun commentaire:

Enregistrer un commentaire