I want to look for "random" numbers so I need to initialize the seed. In order to archive this I use:
seed=time(NULL);
My problem is that time(NULL) is always giving me the same date (1105222769=>Sat, 08 Jan 2005 22:19:29 GMT). What's wrong?
Aucun commentaire:
Enregistrer un commentaire